/ XMU_ACM /

记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:6:14: error: 'd' undeclared (first use in this function)
  scanf("%d",&d);
              ^
/in/foo.c:6:14: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:9:21: error: stray '\357' in program
  for(int i=0;i<n;i++){
                     ^
/in/foo.c:9:22: error: stray '\274' in program
  for(int i=0;i<n;i++){
                      ^
/in/foo.c:9:23: error: stray '\211' in program
  for(int i=0;i<n;i++){
                       ^
/in/foo.c:9:24: error: expected ')' before '{' token
  for(int i=0;i<n;i++){
                        ^
/in/foo.c:22:1: error: expected expression before '}' token
 }
 ^
/in/foo.c:8:17: warning: unused variable 'max' [-Wunused-variable]
  int min=999999,max=-999999;
                 ^~~
/in/foo.c:8:6: warning: unused variable 'min' [-Wunused-variable]
  int min=999999,max=-999999;
      ^~~
/in/foo.c:7:6: warning: unused variable 'a' [-Wunused-variable]
  int a[n];
      ^

信息

递交者
类型
自测
题目
P1027 刘学习的最远距离
语言
C
递交时间
2020-03-12 13:48:23
评测时间
2020-03-12 13:48:23
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes