/ WHOJ /

记录详情

Compile Error

/in/foo.cc:51:2: error: stray '#' in program
   51 | }#include <iostream>
      |  ^
/in/foo.cc:51:3: error: 'include' does not name a type
   51 | }#include <iostream>
      |   ^~~~~~~
/in/foo.cc:56:11: error: redefinition of 'const int MAXN'
   56 | const int MAXN = 100005;
      |           ^~~~
/in/foo.cc:6:11: note: 'const int MAXN' previously defined here
    6 | const int MAXN = 100005;
      |           ^~~~
/in/foo.cc:57:5: error: redefinition of 'int arr [100005]'
   57 | int arr[MAXN];
      |     ^~~
/in/foo.cc:7:5: note: 'int arr [100005]' previously declared here
    7 | int arr[MAXN];
      |     ^~~
/in/foo.cc:59:5: error: redefinition of 'int main()'
   59 | int main() {
      |     ^~~~
/in/foo.cc:9:5: note: 'int main()' previously defined here
    9 | int main() {
      |     ^~~~

信息

递交者
类型
递交
题目
P1120 【模板】快速排序
题目数据
下载
语言
C++
递交时间
2026-05-16 19:03:22
评测时间
2026-05-16 19:03:22
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes