Strange behavior of GNU C++ 17

Правка en1, от pertifiedcobra, 2021-11-02 10:42:14

1. WA Submission

2. AC Submission

The only difference between the two submissions is the cout<<"", which is there in the AC Submission and not there in WA Submission. Can someone please help me understand why printing an empty string gives a different answer than when not printing print it?

Thank you!

Теги gnu c++ 17, bug, c++

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский pertifiedcobra 2021-11-02 10:42:14 616 Initial revision (published)