Hey everyone,↵
-------------↵
↵
I ran into something weird. I have a solution that↵
↵
### TLE on g++17 :↵
[submission:367366517805]↵
↵
### ↵
Accepted on g++23 :↵
[submission:367366805]517]↵
↵
↵
Honestly, it feels a bit unfair that the exact same solution works on one compiler and not the other. I only found out about this by luck, I could’ve wasted so much time trying to come up with another solution, while mine is already correct.↵
↵
Has anyone else experienced this? Any idea why the compiler version makes such a difference?
-------------↵
↵
I ran into something weird. I have a solution that↵
↵
[submission:367366
↵
Accepted on g++23 :↵
[submission:367366
↵
↵
Honestly, it feels a bit unfair that the exact same solution works on one compiler and not the other. I only found out about this by luck, I could’ve wasted so much time trying to come up with another solution, while mine is already correct.↵
↵
Has anyone else experienced this? Any idea why the compiler version makes such a difference?



