TechnoFusion's blog

By TechnoFusion, history, 4 months ago, In English,
 
 
 
 
  • Vote: I like it
  • -8
  • Vote: I do not like it

»
4 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Firstly, the link you provided links to each user's personal submissions page for Contest 1300. The link you wanted to provide is https://codeforces.com/contest/1300/submission/70683587.

As for your question, the problem requires an output that has n integers, in the case of the test on which your program fails this is 4, but your program only outputs 1. The error message is complaining that it's expecting more things in your output (specifically an int32), but instead it found that your output ended.

Hopefully this helps!

»
2 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Helpful!

»
12 days ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

Please see my solution too: test case 8 of solution to 25D