help needed in this problem --> STPAR — Street Parade (SPOJ)

Revision en1, by Whitewiz, 2024-04-20 09:03:00

link to the problem -- https://www.spoj.com/problems/STPAR/

my solution -- https://pastebin.com/JCvFy7zr

I am not able to detect my mistake in the code. Any kind of help will be highly appreciated. Thanks

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Whitewiz 2024-04-20 09:03:00 273 Initial revision (published)