记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:14:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
         if(a>=11&&a-b>=2||b>=11&&b-a>=2) {cout<<a<<':'<<b<<endl;a=0;b=0;}
            ~~~~~^~~~~~~~
/in/foo.cc:22:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
         if(a>=21&&a-b>=2||b>=21&&b-a>=2) {cout<<a<<':'<<b<<endl;a=0;b=0;}
            ~~~~~^~~~~~~~
/in/foo.cc: At global scope:
/in/foo.cc:27:1: error: 'Copy' does not name a type
 Copy
 ^~~~

信息

递交者
类型
递交
题目
P1156 乒乓球
语言
C++
递交时间
2021-02-01 12:10:15
评测时间
2021-02-01 12:10:15
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes