http://codeforces.me/contest/963/submission/37451734
Not sure where my code has a bug, but I submitted 3 times and it's always the same error on test 48.
I could not decipher this part of the message:
Diagnostics detected issues [cpp.clang++-diagnose]: =================================================================
==6068==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x14e00978 at pc 0x00dc63fd bp 0x1355f754 sp 0x1355f750
READ of size 4 at 0x14e00978 thread T0
I would appreciate any help. Thanks!