/ Vijos /

记录详情

Memory Exceeded

/in/foo.cc: In function 'void dfs(int)':
/in/foo.cc:24:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if(sum1+sum2>=n&&sum1+sum2<=m) 
     ^~
/in/foo.cc:31:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
      for(i=0;i<=9;i++)
      ^~~
/in/foo.cc:10:36: warning: unused variable 'j' [-Wunused-variable]
     int i,sum1=0,sum2=0,lin=1,lin1,j,sum;
                                    ^
# 状态 耗时 内存占用
#1 Accepted 2ms 372.0 KiB
#2 Accepted 2ms 364.0 KiB
#3 Accepted 54ms 5.57 MiB
#4 Accepted 39ms 6.621 MiB
#5 Accepted 451ms 39.0 MiB
#6 Accepted 457ms 39.625 MiB
#7 Accepted 446ms 40.125 MiB
#8 Accepted 439ms 38.625 MiB
#9 Accepted 4ms 340.0 KiB
#10 Memory Exceeded ≥1008ms ≥256.0 MiB

信息

递交者
类型
递交
题目
P1042 捕风捉影
语言
C++
递交时间
2018-07-14 13:11:42
评测时间
2018-07-14 13:11:42
评测机
分数
90
总耗时
≥2905ms
峰值内存
≥256.0 MiB