Segmentation fault disappears with cout << "past\n"

Revision en3, by NeverMa573r, 2023-09-03 01:57:30

Anybody know why this happens? I'm completely thrown off on how to debug this, since the bug disappears when I do cout. (this is only on my local machine, but I will provide the code)

My submission : https://mirror.codeforces.com/contest/1851/submission/221618285

Please provide some tips, because google is not.

Tags segfault

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English NeverMa573r 2023-09-03 01:57:30 0 (published)
en2 English NeverMa573r 2023-09-03 01:57:19 52 Tiny change: '/221618285' -> '/221618285\n\nPlease provide some tips, because google is not.'
en1 English NeverMa573r 2023-09-03 01:56:49 310 Initial revision (saved to drafts)