0_0_35267146_1741.c: In function 'main':
0_0_35267146_1741.c:4:18: error: expected expression before '/' token
int max = 0; // 记录最大和值
^
0_0_35267146_1741.c:4:18: error: stray '\274' in program
0_0_35267146_1741.c:4:18: error: stray '\307' in program
0_0_35267146_1741.c:4:18: error: stray '\302' in program
0_0_35267146_1741.c:4:18: error: stray '\274' in program
0_0_35267146_1741.c:4:18: error: stray '\327' in program
0_0_35267146_1741.c:4:18: error: stray '\356' in program
0_0_35267146_1741.c:4:18: error: stray '\264' in program
0_0_35267146_1741.c:4:18: error: stray '\363' in program
0_0_35267146_1741.c:4:18: error: stray '\272' in program
0_0_35267146_1741.c:4:18: error: stray '\315' in program
0_0_35267146_1741.c:4:18: error: stray '\326' in program
0_0_35267146_1741.c:4:18: error: stray '\265' in program
0_0_35267146_1741.c:5:21: error: expected expression before '/' token
int lines = -1; // 行数
^
0_0_35267146_1741.c:5:21: error: stray '\320' in program
0_0_35267146_1741.c:5:21: error: stray '\320' in program
0_0_35267146_1741.c:5:21: error: stray '\312' in program
0_0_35267146_1741.c:5:21: error: stray '\375' in program
0_0_35267146_1741.c:6:19: error: expected expression before '/' token
int nums = 0; // 元素数
^
0_0_35267146_1741.c:6:19: error: stray '\324' in program
0_0_35267146_1741.c:6:19: error: stray '\252' in program
0_0_35267146_1741.c:6:19: error: stray '\313' in program
0_0_35267146_1741.c:6:19: error: stray '\330' in program
0_0_35267146_1741.c:6:19: error: stray '\312' in program
0_0_35267146_1741.c:6:19: error: stray '\375' in program
0_0_35267146_1741.c:7:18: error: expected expression before '/' token
int val = 0; // 元素值
^
0_0_35267146_1741.c:7:18: error: stray '\324' in program
0_0_35267146_1741.c:7:18: error: stray '\252' in program
0_0_35267146_1741.c:7:18: error: stray '\313' in program
0_0_35267146_1741.c:7:18: error: stray '\330' in program
0_0_35267146_1741.c:7:18: error: stray '\326' in program
0_0_35267146_1741.c:7:18: error: stray '\265' in program
0_0_35267146_1741.c:9:18: error: 'lines' undeclared (first use in this function)
scanf("%d", &lines);
^
0_0_35267146_1741.c:9:18: note: each undeclared identifier is reported only once for each function it appears in
0_0_35267146_1741.c:10:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int j=0; j < lines; j++){
^
0_0_35267146_1741.c:10:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_35267146_1741.c:11:22: error: 'nums' undeclared (first use in this function)
scanf("%d", &nums);
^
0_0_35267146_1741.c:12:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i = 0; i < nums; i++){
^
0_0_35267146_1741.c:13:26: error: 'val' undeclared (first use in this function)
scanf("%d", &val);
^
0_0_35267146_1741.c:15:16: error: 'max_index' undeclared (first use in this function)
max_index = i;
^
|