Why am I getting WA in this code ?
Noting wrong with code ,it is accepted in C++ 4.9.2…
This happened to me for the first time. The same code is giving WA in C but AC in C++. (usually occurs for TLE, not with WA).
Do u think a complaint should be given to the admin?
The code will be accepted if u use hash instead of hash[n+1] in C99 strict !!!
how come? since n<=100, hash[n+1] should work as it did in c++.