/ 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 1ms 204.0 KiB
#2 Accepted 1ms 332.0 KiB
#3 Accepted 12ms 5.539 MiB
#4 Accepted 14ms 6.074 MiB
#5 Accepted 335ms 38.656 MiB
#6 Accepted 328ms 38.066 MiB
#7 Accepted 343ms 40.434 MiB
#8 Accepted 334ms 38.191 MiB
#9 Accepted 1ms 200.0 KiB
#10 Memory Exceeded ≥102ms ≥256.0 MiB

信息

递交者
类型
递交
题目
P1042 捕风捉影
语言
C++
递交时间
2019-10-31 16:46:54
评测时间
2019-10-31 16:46:54
评测机
分数
90
总耗时
≥1476ms
峰值内存
≥256.0 MiB