/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int find(int)':
/in/foo.cc:32: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:32: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 6ms 10.355 MiB
#3 Accepted 16ms 22.469 MiB
#4 Wrong Answer 14ms 26.375 MiB
#5 Wrong Answer 209ms 65.863 MiB
#6 Accepted 261ms 66.887 MiB
#7 Accepted 255ms 69.25 MiB
#8 Runtime Error 791ms 134.625 MiB
#9 Runtime Error 768ms 136.25 MiB
#10 Runtime Error 736ms 135.977 MiB

信息

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