Need help with 1846C in c++

Revision en2, by goextreme, 2023-07-09 09:05:28

Hi everyone, thank you for reading this blog. If you know c++ can you please keep reading to help me

problem: 1846C

my submission

i solved this problem in python, but i got runtime error on test 3 when i tried to do it using c++

i don't understand why i got runtime error on test 3. can somebody explain this to me

Thanks in advance

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English goextreme 2023-07-09 09:05:28 8
en1 English goextreme 2023-07-09 09:01:53 478 Initial revision (published)