diff --git a/HDOJ/5723.cpp b/HDOJ/5723.cpp index 339381f..d15d22c 100644 --- a/HDOJ/5723.cpp +++ b/HDOJ/5723.cpp @@ -107,6 +107,11 @@ int main() totalans=0; dfs(b); + /// What The Hell ? + /// This Type is WRONG: + /// double ans=n*(n-1)/2.0; + /// But this type is Accepted !?? + /// double ans=0.5*n*(n-1); double tans=0.5*n*(n-1); /// Use Long Long? printf("%I64d %.2lf\n",sum,(double)totalans/tans);