|
|
back to boardwarning!C++ cin.eof() may case WA use cin.eof() to judge the end of input and get WA 3; scanf get AC and while(cin >> a) may case Time Out Re: warning!C++ cin.eof() may case WA why does cin.eof() produces WA 3 ? Re: warning!C++ cin.eof() may case WA You should use while(scanf("%lf", &a)) |
|
|