/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int find(int)':
/in/foo.cc:31:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if(ints[n]==n)return(n);return(ints[n]=find(ints[n]));
     ^~
/in/foo.cc:31:29: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if(ints[n]==n)return(n);return(ints[n]=find(ints[n]));
                             ^~~~~~
/in/foo.cc: In function 'int get()':
/in/foo.cc:16:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Accepted 4ms 10.375 MiB
#2 Wrong Answer 8ms 10.336 MiB
#3 Accepted 9ms 20.465 MiB
#4 Wrong Answer 10ms 26.469 MiB
#5 Wrong Answer 176ms 65.625 MiB
#6 Accepted 210ms 69.445 MiB
#7 Accepted 209ms 67.0 MiB
#8 Runtime Error 666ms 136.117 MiB
#9 Runtime Error 823ms 135.453 MiB
#10 Runtime Error 644ms 136.09 MiB

信息

递交者
类型
递交
题目
P1466 电缆建设
语言
C++
递交时间
2018-06-16 13:51:12
评测时间
2018-06-16 13:51:12
评测机
分数
40
总耗时
2762ms
峰值内存
136.117 MiB