/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:29:15: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(x11==11 && y11==10 || x11==10 && y11==11)
       ~~~~~~~~^~~~~~~~~~
/in/foo.cc:61:15: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(x21==21 && y21==20 || x21==20 && y21==21)
       ~~~~~~~~^~~~~~~~~~
/in/foo.cc:7:6: warning: unused variable 'n' [-Wunused-variable]
  int n,i;
      ^
/in/foo.cc:10:6: warning: variable 'num' set but not used [-Wunused-but-set-variable]
  int num=0;
      ^~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 208.0 KiB
#2 Wrong Answer 1ms 228.0 KiB
#3 Wrong Answer 1ms 216.0 KiB
#4 Wrong Answer 1ms 228.0 KiB
#5 Wrong Answer 1ms 216.0 KiB
#6 Runtime Error 1ms 228.0 KiB
#7 Runtime Error 1ms 220.0 KiB
#8 Accepted 1ms 232.0 KiB
#9 Wrong Answer 1ms 220.0 KiB
#10 Wrong Answer 1ms 228.0 KiB

信息

递交者
类型
递交
题目
P1217 乒乓球
语言
C++
递交时间
2020-10-06 12:48:39
评测时间
2020-10-06 12:48:39
评测机
分数
10
总耗时
15ms
峰值内存
232.0 KiB