/ 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.336 MiB
#2 Wrong Answer 11ms 10.25 MiB
#3 Wrong Answer 14ms 20.375 MiB
#4 Wrong Answer 19ms 26.48 MiB
#5 Wrong Answer 167ms 64.109 MiB
#6 Wrong Answer 206ms 66.5 MiB
#7 Wrong Answer 235ms 70.125 MiB
#8 Runtime Error 694ms 131.0 MiB
#9 Runtime Error 595ms 131.621 MiB
#10 Runtime Error 685ms 132.109 MiB

信息

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