GNU G++ Problems

Правка en3, от Flavanoid, 2022-06-13 09:56:27

Here is my code. When compiling using g++ 12.1.0 on my local machine or using GNU G++ 20 on the judging machine, it always stop the input after the first loop of the first loop. Like it showns here. With the debug code, it output something like this where lines start with > is my input.

But when compiling with Clang++ on my local machine or on judge machine, it works well.

P.S. please ignore the WA on clang++, it is caused by making too many queries, which can be solved using binary search but I've not implement that yet.

Теги interactive, g++, clang

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский Flavanoid 2022-06-13 09:56:27 104
en2 Английский Flavanoid 2022-06-13 09:55:48 1548
en1 Английский Flavanoid 2022-06-13 09:54:36 2257 Initial revision (published)