/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int readstr(char*)':
/in/foo.cc:7:10: warning: value computed is not used [-Wunused-value]
     s[100];
     ~~~~~^
/in/foo.cc:7:10: warning: statement has no effect [-Wunused-value]
/in/foo.cc: In function 'int main()':
/in/foo.cc:16:18: error: 'min' was not declared in this scope
 if(k==1)l[min(x,y)]++,r[max(x,y)]++;
                  ^
/in/foo.cc:16:32: error: 'max' was not declared in this scope
 if(k==1)l[min(x,y)]++,r[max(x,y)]++;
                                ^

信息

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