dangerous behavior

Revision en1, by Negationist, 2024-12-06 05:02:36

The problem is Adventurers(https://mirror.codeforces.com/contest/2046/problem/C). This code is cooked. Even just printing the contents of the container changes the output completely. For anyone who's up for it, what sort of magic is even going on? How do I fix it?

My Code

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Negationist 2024-12-06 05:02:36 4145 Initial revision (published)