QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#653896 | #9313. Make Max | GuanYunchang | Compile Error | / | / | C++98 | 2.0kb | 2024-10-18 20:48:50 | 2024-10-18 20:48:53 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘void sukuna(long long int)’: answer.code:71:23: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions] 71 | pos.push_back({x, i}); | ^ answer.code:71:22: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions] 71 | pos.push_back({x, i}); | ~~~~~~~~~~~~~^~~~~~~~ answer.code:79:14: error: ‘i’ does not name a type; did you mean ‘fi’? 79 | for(auto i : pos){ | ^ | fi answer.code:81:6: error: expected ‘;’ before ‘cout’ 81 | } | ^ | ; 82 | 83 | cout << ans << endl; | ~~~~ answer.code:85:1: error: expected primary-expression before ‘}’ token 85 | } | ^ answer.code:83:25: error: expected ‘)’ before ‘}’ token 83 | cout << ans << endl; | ^ | ) 84 | 85 | } | ~ answer.code:79:8: note: to match this ‘(’ 79 | for(auto i : pos){ | ^ answer.code:85:1: error: expected primary-expression before ‘}’ token 85 | } | ^