ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1343. Fairy Tale

To admins
Posted by Spatarel Dan Constantin 19 Apr 2014 15:06
I just submitted the same code with:
* G++ 4.7.2 C++11 (5626316) and got WA3
* Visual C++ 2010 (5626319) and got AC

Can you please tell me what works wrong when compiling with G++?

Thank you
Re: To admins
%lld works as %d when you use it in g++ in windows. You should use %I64d instead.