QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#68723 | #4585. Greedy Knapsack | HuangHanSheng | Compile Error | / | / | C++17 | 820b | 2022-12-19 03:55:17 | 2022-12-19 03:55:21 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code:2:12: warning: ‘c’ initialized and declared ‘extern’ 2 | extern int c[6][18]={}; | ^ answer.code:3:12: warning: ‘w’ initialized and declared ‘extern’ 3 | extern int w[6]={0,3,4,7,8,9}; | ^ answer.code:4:12: warning: ‘v’ initialized and declared ‘extern’ 4 | extern int v[6]={0,4,5,10,11,13}; | ^ answer.code:5:12: warning: ‘x’ initialized and declared ‘extern’ 5 | extern int x[6]={0}; | ^ answer.code: In function ‘int main()’: answer.code:58:10: error: ‘system’ was not declared in this scope 58 | system("pause"); | ^~~~~~