As the title suggests, I submitted the identical source code, which in my environment and in c++17 gives the right answer, but in c++14 it gives WA. I am aware this usually involves some sort of default initialization, but I believe my codes does not rely on that.↵
I appreciate your help and insights as to what might be happening!↵
↵
[WA](https://mirror.codeforces.com/contest/1196/submission/57881827)↵
↵
[AC](https://mirror.codeforces.com/contest/1196/submission/57881818)↵
↵
Two editorials for this problem, but I followed this [one](https://mirror.codeforces.com/blog/entry/68655)
I appreciate your help and insights as to what might be happening!↵
↵
[WA](https://mirror.codeforces.com/contest/1196/submission/57881827)↵
↵
[AC](https://mirror.codeforces.com/contest/1196/submission/57881818)↵
↵
Two editorials for this problem, but I followed this [one](https://mirror.codeforces.com/blog/entry/68655)