Why does "ios::sync_with_stdio(false)" cause a "fread" error?

Правка en1, от platelet, 2023-02-09 06:15:52

Wrong answer submission and Accepted submission

You can compare them, the only difference is that the Wrong answer submission has an extra cin.tie(0)->sync_with_stdio(0);

I didn't use cin and cout, just fread and fwrite.

Can someone tell me if there is something wrong with my usage or a compiler bug.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский platelet 2023-02-09 06:15:52 521 Initial revision (published)