Compile Error

/in/foo.cc:8:11: error: stray '#' in program
    8 | int main()#include<bits/stdc++.h>
      |           ^
/in/foo.cc:8:12: error: expected initializer before 'include'
    8 | int main()#include<bits/stdc++.h>
      |            ^~~~~~~
/in/foo.cc:10:11: error: redefinition of 'const int N'
   10 | const int N=1e2+5;
      |           ^
/in/foo.cc:3:11: note: 'const int N' previously defined here
    3 | const int N=1e3+5;
      |           ^
/in/foo.cc:11:9: error: redefinition of 'int cnt'
   11 | int x,y,cnt,a[N][N];
      |         ^~~
/in/foo.cc:4:9: note: 'int cnt' previously declared here
    4 | int n,m,cnt;
      |         ^~~
/in/foo.cc:35:1: error: expected unqualified-id before '{' token
   35 | {
      | ^

信息

递交者
类型
递交
题目
P3053 山之谷 GESP202603 四级T1
语言
C++
递交时间
2026-04-08 18:43:19
评测时间
2026-04-08 18:43:19
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes