/ Vijos /

记录详情

Compile Error

/in/foo.c: In function 'readstr':
/in/foo.c:6:9: error: 's' redeclared as different kind of symbol
     int s[100];
         ^
/in/foo.c:4:19: note: previous definition of 's' was here
 int readstr(char* s){
                   ^
/in/foo.c:6:9: warning: variable 's' set but not used [-Wunused-but-set-variable]
     int s[100];
         ^
/in/foo.c: In function 'main':
/in/foo.c:15:11: warning: implicit declaration of function 'min' [-Wimplicit-function-declaration]
 if(k==1)l[min(x,y)]++,r[max(x,y)]++;
           ^~~
/in/foo.c:15:25: warning: implicit declaration of function 'max' [-Wimplicit-function-declaration]
 if(k==1)l[min(x,y)]++,r[max(x,y)]++;
                         ^~~

信息

递交者
类型
递交
题目
P1448 校门外的树
语言
C
递交时间
2018-07-21 16:21:27
评测时间
2018-07-21 16:21:27
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes