Can't find UB?

Правка en1, от farmersrice, 2018-11-24 08:01:36

https://mirror.codeforces.com/contest/1061/submission/46134575 https://mirror.codeforces.com/contest/1061/submission/46134614

Same code for 1061F gives wrong answer on test 1 for C++17 (invalid input format), but goes to test 159 for C++14 (accepted after submitting a second time). I feel like my problem lies within some input issue or something to do with returning the vectors, but I can't find it. Can someone please enlighten me? Thanks in advance.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский farmersrice 2018-11-24 08:01:55 2 Tiny change: '46134575\nhttps://' -> '46134575\n\nhttps://'
en1 Английский farmersrice 2018-11-24 08:01:36 458 Initial revision (published)