|
|
back to boardFor those with C/C++ WA on test#6 Posted by Linas 31 Oct 2008 15:39 Check if you're not using printf to output long long integers, it will not work on the server. So instead of: printf("%lld\n", count); do: cout << count << endl; I got WA on test 6 due to this problem. Re: For those with C/C++ WA on test#6 Posted by wecing 30 Mar 2010 19:02 I think for those who use C, %I64d is needed but not %lld, which only works on unix/linux. It's said that cout/cin in C++ is very very very slow when doing massive i/o work, especially for long long data. Re: For those with C/C++ WA on test#6 the same code gives WA on test#6 with G++ 4.7.2 AC on VC++ Re: For those with C/C++ WA on test#6 Posted by Test 7 Jun 2013 08:40 also AC with G++ 11 |
|
|