Codeforces compiler

Revision en2, by decoder__, 2020-08-06 18:05:45

Can anyone help me why my code is giving runtime error on cf but works fine on my local machine? Code: https://codeforces.net/contest/1215/submission/89127974 Problem: https://codeforces.net/contest/1215/problem/C Will codeforces compiler give an error if a vector is empty and size function is called on the vector ?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English decoder__ 2020-08-06 18:05:45 105
en1 English decoder__ 2020-08-06 17:13:34 234 Initial revision (published)