记录详情

Compile Error

foo.cc:3:1: error: expected identifier before 'int'
    3 | int main()
      | ^~~
foo.cc:2:16: error: expected ';' before 'int'
    2 | using namespace
      |                ^
      |                ;
    3 | int main()
      | ~~~             
foo.cc: In function 'int main()':
foo.cc:5:11: error: 'n' was not declared in this scope
    5 |     int a[n];
      |           ^
foo.cc:6:2: error: 'sjn' was not declared in this scope
    6 |  sjn;
      |  ^~~
foo.cc:7:2: error: 'bdx' was not declared in this scope
    7 |  bdx;
      |  ^~~
foo.cc:8:2: error: 'zddyag' was not declared in this scope
    8 |  zddyag;
      |  ^~~~~~
foo.cc:9:2: error: 'sca' was not declared in this scope; did you mean 'scanf'?
    9 |  sca;
      |  ^~~
      |  scanf
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
1-4 最大值的个数
比赛
2022暑期青少年社团(入门赛)
语言
C++
递交时间
2022-07-28 20:33:36
评测时间
2022-07-28 20:33:36
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes