/in/foo.c: In function 'main':
/in/foo.c:7:6: error: array size missing in 'sum'
int sum[];
^~~
/in/foo.c:8:6: error: array size missing in 'Name'
int Name[];
^~~~
/in/foo.c:10:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
for(int i=0,i<N,i++)
^
/in/foo.c:30:2: error: expected expression before 'int'
int max = sum[0];
^~~
/in/foo.c:31:5: error: expected expression before 'for'
for(int k = 1; k<N; k++) {
^~~
/in/foo.c:39:1: error: expected expression before '}' token
}
^
/in/foo.c:10:10: warning: unused variable 'i' [-Wunused-variable]
for(int i=0,i<N,i++)
^
/in/foo.c:8:6: warning: unused variable 'Name' [-Wunused-variable]
int Name[];
^~~~
/in/foo.c:7:6: warning: unused variable 'sum' [-Wunused-variable]
int sum[];
^~~
/in/foo.c:6:13: warning: unused variable 'sumAll' [-Wunused-variable]
int sumBUD,sumAll;
^~~~~~
/in/foo.c:6:6: warning: unused variable 'sumBUD' [-Wunused-variable]
int sumBUD,sumAll;
^~~~~~
/in/foo.c:5:43: warning: unused variable 'sciNum' [-Wunused-variable]
int N,name,fscore,cscore,isvip,iswest,sciNum;
^~~~~~
/in/foo.c:5:36: warning: unused variable 'iswest' [-Wunused-variable]
int N,name,fscore,cscore,isvip,iswest,sciNum;
^~~~~~
/in/foo.c:5:30: warning: unused variable 'isvip' [-Wunused-variable]
int N,name,fscore,cscore,isvip,iswest,sciNum;
^~~~~
/in/foo.c:5:23: warning: unused variable 'cscore' [-Wunused-variable]
int N,name,fscore,cscore,isvip,iswest,sciNum;
^~~~~~
/in/foo.c:5:16: warning: unused variable 'fscore' [-Wunused-variable]
int N,name,fscore,cscore,isvip,iswest,sciNum;
^~~~~~
/in/foo.c:5:11: warning: unused variable 'name' [-Wunused-variable]
int N,name,fscore,cscore,isvip,iswest,sciNum;
^~~~