Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

Last number is not printed!

Revision en2, by Kerolloz, 2019-03-02 23:05:31

I have been trying to solve Div2-767-A!
But every time I try to submit my solution it doesn't even pass the sample test cases -_- "WA on test 1".
My code doesn't print the last number of the output however it works fine when I tried it.
I tried my code on my PC it works properly, but I don't know what's the problem when I try to submit it.
Here is my submission link: submission .
Any help would be appreciated! Thanks in advance.

Tags #set, c++ stl, iterator

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Kerolloz 2019-03-02 23:05:31 137
en1 English Kerolloz 2019-03-02 23:03:29 501 Initial revision (published)