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 1519. Formula 1

__dynamic WA on TEST#18 in G++ but AC in VC++ [2] // Problem 1519. Formula 1 1 Mar 2014 21:40
That's magical and I don't think there's any undefined behaviors etc. in my code..
Those who are puzzled in ridiculous WA may try to change the compiler.
__dynamic Re: WA on TEST#18 in G++ but AC in VC++ // Problem 1519. Formula 1 1 Mar 2014 21:41
Code pasted here:fayaa.com/code/view/28059/
gconeice Re: WA on TEST#18 in G++ but AC in VC++ // Problem 1519. Formula 1 3 Jun 2014 21:26
Maybe you use "%lld" to output the answer?
I think the compiler in Ural may be based on Windows.