记录详情

Runtime Error

/in/foo.cc: In function 'bool fish(int, int)':
/in/foo.cc:19:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if (b[0] == '0'&&len>1 
                  
/in/foo.cc:21:15: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   || len == 3 && b[2] >'5'
      ~~~~~~~~~^~~~~~~~~~~~
/in/foo.cc:22:15: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   || len == 3 && b[1] >'5')
      ~~~~~~~~~^~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:29:15: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=]
  scanf("%d", T);
               ^
/in/foo.cc:29:16: warning: 'T' is used uninitialized in this function [-Wuninitialized]
  scanf("%d", T);
                ^
# 状态 耗时 内存占用
#1 Runtime Error 5ms 256.0 KiB
#2 Runtime Error 3ms 200.0 KiB
#3 Runtime Error 3ms 336.0 KiB

信息

递交者
类型
递交
题目
合法ip
语言
C++
递交时间
2018-03-23 19:05:41
评测时间
2018-03-23 19:05:41
评测机
分数
0
总耗时
13ms
峰值内存
336.0 KiB