/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'void output(int, int)':
/in/foo.cc:15:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if(((w==type||l==type)&&(abs(l-w)>=2)||(l>type)&&(w>type)&&(abs(l-w)==2)))
       ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/in/foo.cc:25:1: error: a function-definition is not allowed here before '{' token
 {
 ^
/in/foo.cc:37:1: error: expected '}' at end of input
 }
 ^

信息

递交者
类型
递交
题目
P1217 乒乓球
语言
C++
递交时间
2021-02-23 17:16:41
评测时间
2021-02-23 17:16:41
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes