My Program Stops Running Unexpectedly

Revision en1, by Qualified, 2020-05-21 04:55:01

Hi, I am trying to do 723B - Text Document Analysis and here is my code.

Code

When I input 37, which is the example input, the program just returns maxx and cnt. I don't understand this. Am I doing something wrong. BTW I am using GVim.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Qualified 2020-05-21 04:55:01 855 Initial revision (published)