Submission #28462
ソースコード
ステータス
| 項目 | データ |
|---|---|
| 問題 | 0238 - ナップザック問題(Easy) |
| ユーザー名 | ei1729 |
| 投稿日時 | 2017-11-09 16:35:23 |
| 言語 | C++11 |
| 状態 | Compile Error |
| 得点 | 0 |
| ソースコード長 | 623 Byte |
| 最大実行時間 | - |
| 最大メモリ使用量 |
コンパイルメッセージ
./Main.cpp: In function ‘int dfs(int, int)’:
./Main.cpp:20:6: error: ‘mem’ was not declared in this scope
if(mem[now][w]!=-1) return mem[now][w];
^~~
./Main.cpp:20:6: note: suggested alternative: ‘memo’
if(mem[now][w]!=-1) return mem[now][w];
^~~
memo
セット
| セット | 得点 | Cases |
|---|
テストケース
| ファイル名 | 状態 | 実行時間 | メモリ使用量 | # |
|---|---|---|---|