/ Vijos /

记录详情

Runtime Error

/in/foo.c: In function 'main':
/in/foo.c:15:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if(s[i]='W') a++;
   ^~
/in/foo.c:16:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if(s[i]='L') b++;
   ^~
/in/foo.c:17:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if(s[i]='\n') continue;
   ^~
/in/foo.c:18:6: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration]
   if(abs(a-b)>=2){
      ^~~
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 256.0 KiB
#2 Wrong Answer 8ms 256.0 KiB
#3 Wrong Answer 11ms 256.0 KiB
#4 Wrong Answer 3ms 256.0 KiB
#5 Wrong Answer 19ms 256.0 KiB
#6 Runtime Error 13ms 256.0 KiB
#7 Runtime Error 3ms 256.0 KiB
#8 Wrong Answer 4ms 256.0 KiB
#9 Wrong Answer 2ms 256.0 KiB
#10 Wrong Answer 2ms 256.0 KiB

信息

递交者
类型
递交
题目
P1217 乒乓球
语言
C
递交时间
2018-01-20 23:30:49
评测时间
2018-01-20 23:30:49
评测机
分数
0
总耗时
73ms
峰值内存
256.0 KiB