记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:20:7: error: 'a' was not declared in this scope
    if(a[j]<a[m])
       ^
foo.cc:28:7: error: 'a' was not declared in this scope
  show(a[k+1]);
       ^
foo.cc: In function 'void show(int)':
foo.cc:35:10: error: too many arguments to function 'void dan(int)'
  dan(a,a1);
          ^
foo.cc:6:6: note: declared here
 void dan(int );
      ^~~
foo.cc:36:10: error: too many arguments to function 'void dan(int)'
  dan(b,b1);
          ^
foo.cc:6:6: note: declared here
 void dan(int );
      ^~~
foo.cc:37:10: error: too many arguments to function 'void dan(int)'
  dan(c,c1);
          ^
foo.cc:6:6: note: declared here
 void dan(int );
      ^~~
foo.cc: At global scope:
foo.cc:126:1: error: expected declaration before '}' token
 }
 ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
P1037 环形山丘(续)
语言
C++
递交时间
2021-09-24 21:32:24
评测时间
2021-09-24 21:32:24
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes