/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:43:17: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[5]' [-Wformat=]
    scanf("%s",&y);
                 ^
/in/foo.cc:20:8: warning: array subscript is above array bounds [-Warray-bounds]
  if(s[p]==0||s[p]>t) s[p]=t;
     ~~~^
/in/foo.cc:20:25: warning: array subscript is above array bounds [-Warray-bounds]
  if(s[p]==0||s[p]>t) s[p]=t;
                      ~~~^
# 状态 耗时 内存占用
#1 Wrong Answer 793ms 128.195 MiB
#2 Wrong Answer 781ms 128.094 MiB
#3 Wrong Answer 772ms 128.25 MiB
#4 Runtime Error 1ms 304.0 KiB
#5 Runtime Error 2ms 324.0 KiB
#6 Runtime Error 3ms 256.0 KiB
#7 Runtime Error 3ms 256.0 KiB
#8 Runtime Error 2ms 324.0 KiB
#9 Runtime Error 2ms 328.0 KiB
#10 Runtime Error 3ms 360.0 KiB

信息

递交者
类型
递交
题目
P1197 费解的开关
语言
C++
递交时间
2017-07-10 18:59:12
评测时间
2017-07-10 18:59:12
评测机
分数
0
总耗时
2367ms
峰值内存
128.25 MiB