Difference between C++14 and C++17?

Revision en2, by The_Professor_, 2022-10-07 20:53:30

In today's contest (Dytechlab 2022), a weird thing happened with me. I have submitted solution of second problem in C++14, but the result came wrong answer on pretest 2 but when the same code I have submitted in C++17 at the end of contest, all tests were passed. Due to this, my ranking was also effected.

Link of Wrong Solution: https://codeforces.com/contest/1737/submission/175033175 Link of Correct Solution: https://codeforces.com/contest/1737/submission/175033564

Can somebody tell me the difference between C++14 and C++17?

Thanks in advance.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English The_Professor_ 2022-10-07 20:53:30 64
en1 English The_Professor_ 2022-10-07 20:51:33 532 Initial revision (published)