/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int dfs(int, int, int)':
/in/foo.cc:22:18: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized]
   for(int i = X[i];i<=m-h-Y[x];i+=X[i])ret = min(ret,dfs(x+1,h-Y[x]+i,i/X[i]+step));
                  ^
/in/foo.cc:25:18: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized]
   for(int i = X[i];i<=m-h-Y[x];i+=X[i])ret = min(ret,dfs(x+1,h-Y[x]+i,i/X[i]+step));
                  ^
# 状态 耗时 内存占用
#1 Accepted 15ms 38.816 MiB
#2 Accepted 15ms 38.781 MiB
#3 Accepted 15ms 38.82 MiB
#4 Accepted 15ms 38.824 MiB
#5 Accepted 15ms 38.785 MiB
#6 Accepted 14ms 38.941 MiB
#7 Accepted 15ms 38.789 MiB
#8 Accepted 15ms 38.789 MiB
#9 Accepted 15ms 38.926 MiB
#10 Accepted 15ms 38.879 MiB
#11 Accepted 16ms 38.895 MiB
#12 Accepted 16ms 38.82 MiB
#13 Accepted 15ms 38.863 MiB
#14 Accepted 16ms 38.809 MiB
#15 Accepted 23ms 38.969 MiB
#16 Accepted 54ms 38.992 MiB
#17 Accepted 30ms 38.941 MiB
#18 Accepted 51ms 38.988 MiB
#19 Accepted 38ms 38.965 MiB
#20 Accepted 47ms 38.914 MiB

信息

递交者
类型
递交
题目
P1907 飞扬的小鸟
语言
C++
递交时间
2019-10-04 16:18:28
评测时间
2019-10-04 16:18:28
评测机
分数
100
总耗时
465ms
峰值内存
38.992 MiB