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 1452. Pascal vs. C++

WA 1
Posted by aslan7470 14 Mar 2015 01:44
On #1 test my program output:
4
4 5 1 6
with code: cout<<4<<endl<<4<<" "<<5<<" "<<1<<" "<<6
but get wrong answer. Why?
Re: WA 1
Posted by Alikhan Zimanov 12 Jan 2020 15:48
Because the first test is NOT the same as the sample