/ Vijos /

记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:7:10: warning: unused variable 'z' [-Wunused-variable]
  int x,y,z,sum,i,n; 
          ^
/in/foo.c:7:8: warning: unused variable 'y' [-Wunused-variable]
  int x,y,z,sum,i,n; 
        ^
/in/foo.c:7:6: warning: unused variable 'x' [-Wunused-variable]
  int x,y,z,sum,i,n; 
      ^
/in/foo.c: At top level:
/in/foo.c:22:2: error: stray '#' in program
 }#include<stdio.h>
  ^
/in/foo.c:22:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
 }#include<stdio.h>
          ^
/in/foo.c:26:5: error: redefinition of 'main'
 int main()
     ^~~~
/in/foo.c:5:5: note: previous definition of 'main' was here
 int main()
     ^~~~
/in/foo.c: In function 'main':
/in/foo.c:28:10: warning: unused variable 'z' [-Wunused-variable]
  int x,y,z,sum,i,n; 
          ^
/in/foo.c:28:8: warning: unused variable 'y' [-Wunused-variable]
  int x,y,z,sum,i,n; 
        ^
/in/foo.c:28:6: warning: unused variable 'x' [-Wunused-variable]
  int x,y,z,sum,i,n; 
      ^

信息

递交者
类型
递交
题目
P1102 陶陶摘苹果
语言
C
递交时间
2017-10-18 23:37:42
评测时间
2017-10-18 23:37:42
评测机
分数
0
总耗时
31ms
峰值内存
3.109 MiB