/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:16:42: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'bool*' [-Wformat=]
   scanf ("%d%d",&e[i].vis[j],&e[i].num[j]);
                                          ^
/in/foo.cc:35:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
    if (now != e[f].num[x])
       ^
/in/foo.cc:21:7: warning: variable 'flag' set but not used [-Wunused-but-set-variable]
  bool flag = false;
       ^~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 196.0 KiB
#2 Wrong Answer 1ms 336.0 KiB
#3 Wrong Answer 2ms 260.0 KiB
#4 Wrong Answer 14ms 584.0 KiB
#5 Wrong Answer 26ms 804.0 KiB
#6 Runtime Error 18ms 804.0 KiB
#7 Runtime Error 19ms 804.0 KiB
#8 Runtime Error 19ms 800.0 KiB
#9 Runtime Error 19ms 804.0 KiB
#10 Runtime Error 18ms 756.0 KiB

信息

递交者
类型
递交
题目
P1787 寻宝
语言
C++
递交时间
2019-09-18 18:39:20
评测时间
2019-09-18 18:39:20
评测机
分数
0
总耗时
142ms
峰值内存
804.0 KiB