Submission #52837
ソースコード
ステータス
| 項目 | データ |
|---|---|
| 問題 | 0238 - ナップザック問題(Easy) |
| ユーザー名 | ei1940 |
| 投稿日時 | 2019-08-19 10:34:06 |
| 言語 | C++ |
| 状態 | Compile Error |
| 得点 | 0 |
| ソースコード長 | 511 Byte |
| 最大実行時間 | - |
| 最大メモリ使用量 |
コンパイルメッセージ
./Main.cpp: In function ‘int main()’: ./Main.cpp:18:3: error: ‘memset’ was not declared in this scope memset(mem,-1,sizeof(mem)); ^~~~~~ ./Main.cpp:18:3: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’? ./Main.cpp:4:1: +#include <cstring> using namespace std; ./Main.cpp:18:3: memset(mem,-1,sizeof(mem)); ^~~~~~
セット
| セット | 得点 | Cases |
|---|
テストケース
| ファイル名 | 状態 | 実行時間 | メモリ使用量 | # |
|---|---|---|---|