/ Vijos /

记录详情

Accepted

foo.c: In function 'main':
foo.c:25:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if (ans==num||ans==10&&ch[len]=='X') printf("Right");
                ~~~~~~~^~~~~~~~~~~~~~
foo.c:9:5: warning: 'sum' is used uninitialized in this function [-Wuninitialized]
  sum+=num*1;
  ~~~^~~~~~~
# 状态 耗时 内存占用
#1 Accepted 0ms 584.0 KiB
#2 Accepted 0ms 584.0 KiB
#3 Accepted 0ms 584.0 KiB
#4 Accepted 0ms 580.0 KiB
#5 Accepted 0ms 584.0 KiB
#6 Accepted 0ms 584.0 KiB
#7 Accepted 0ms 580.0 KiB
#8 Accepted 0ms 584.0 KiB
#9 Accepted 15ms 588.0 KiB
#10 Accepted 0ms 580.0 KiB

信息

递交者
类型
递交
题目
P1484 ISBN号码
语言
C
递交时间
2017-02-26 16:56:54
评测时间
2017-02-26 16:56:54
评测机
分数
100
总耗时
15ms
峰值内存
588.0 KiB