Hi codeforces, i give this problem to one of my friends 1082 — Array Queries
after a while he tell me that he got RTE and ask me why..i look at the code and it was as same as my code except one thing..he use fastIO with cin cout...but i use scanf and printf..i change his code to use scanf printf and submit it..i got AC anyone know why this is happen..
this is the RTE code https://ideone.com/lGSRDC
and this is the AC code https://ideone.com/syamOk
thanks in advance.
Same thing happened to me yesterday in problem "Light Oj 1232".After changing cin to scanf my solution has been accepted.Is that not about TLE?I wonder too if someone can explain :)
Submit the same TLE solution in Vjudge. It will get AC. Some weird problem in LightOJ regarding FastIO.