/ 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 6ms 10.25 MiB
#2 Wrong Answer 7ms 10.25 MiB
#3 Accepted 11ms 20.375 MiB
#4 Wrong Answer 10ms 26.461 MiB
#5 Wrong Answer 206ms 65.25 MiB
#6 Accepted 252ms 66.387 MiB
#7 Accepted 171ms 67.75 MiB
#8 Runtime Error 625ms 130.602 MiB
#9 Runtime Error 764ms 130.578 MiB
#10 Runtime Error 617ms 131.094 MiB

信息

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