Small data perfect, Large data wrong: A strange bubble sort question

后端 未结 1 922
甜味超标
甜味超标 2021-01-29 15:37

I\'m writing a bubble sort program. I use TCC (http://bellard.org/tcc/)。 I use long long variables in my program, because the input data is very large. My problem is : When the

1条回答
  •  长情又很酷
    2021-01-29 16:31

    I just downloaded your files and compiled it with GCC 4.1.2 and with TCC 0.9.24 and you program works fine with both compilers. The output matches right.date.out.txt, so your code is correct. Perhaps there's something else in your environment that is causing problems compiling or running your program.

    0 讨论(0)
提交回复
热议问题