/ 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 7ms 10.25 MiB
#2 Wrong Answer 5ms 10.25 MiB
#3 Accepted 12ms 20.477 MiB
#4 Wrong Answer 13ms 26.383 MiB
#5 Wrong Answer 184ms 63.125 MiB
#6 Accepted 189ms 66.746 MiB
#7 Accepted 215ms 67.102 MiB
#8 Runtime Error 803ms 134.875 MiB
#9 Runtime Error 794ms 136.23 MiB
#10 Runtime Error 667ms 135.613 MiB

信息

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