Memory Exceeded

foo.cc: In function 'int main()':
foo.cc:9:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
       if(j+i<=n)
       ^~
foo.cc:11:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
    dp[i+1][j+1]+=dp[i][j];
    ^~
foo.cc:5:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d %d",&n,&m);
     ~~~~~^~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Memory Exceeded ≥1ms ≥16.0 KiB
#2 Memory Exceeded ≥0ms ≥16.0 KiB
#3 Memory Exceeded ≥1ms ≥16.0 KiB
#4 Memory Exceeded ≥1ms ≥16.0 KiB
#5 Memory Exceeded ≥1ms ≥16.0 KiB

信息

递交者
类型
递交
题目
P1193 小邹切蛋糕
语言
C++
递交时间
2021-08-05 19:43:18
评测时间
2021-08-05 19:43:18
评测机
分数
0
总耗时
≥5ms
峰值内存
≥16.0 KiB