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 1074. Very Short Problem

WA1 java?! WTF
Posted by captainflint 4 Sep 2017 23:47
On my PC it runs perfectly correct, the output is exactly the same(i have checked it using equals method so a mistake is impossible) but i get WA1 somehow. If somebody has an idea, please write it here.
BTW I know that the first test is the sample test because a simple program that prints sample output gets WA2.

PS here is my code if someone's interested: https://pastebin.com/SYiQTbMt

Edited by author 04.09.2017 23:49

Edited by author 04.09.2017 23:49
Re: WA1 java?! WTF
Posted by Mahilewets Nikita [BSUIR] 5 Sep 2017 01:21
Do you think test case number one is the sample?