QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#612934 | #7683. Hard Brackets Problem | GuanYunchang | Compile Error | / | / | C++98 | 1.2kb | 2024-10-05 13:19:06 | 2024-10-05 13:19:53 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
In file included from /usr/include/c++/13/unordered_map:37, from answer.code:10: /usr/include/c++/13/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. 32 | #error This file requires compiler and library support \ | ^~~~~ answer.code: In function ‘void solve()’: answer.code:31:19: error: ‘c’ does not name a type 31 | for (auto c : s) { | ^ answer.code:35:10: error: expected ‘;’ before ‘if’ 35 | } | ^ | ; 36 | 37 | if (l > r) { | ~~ answer.code:37:9: error: expected primary-expression before ‘if’ 37 | if (l > r) { | ^~ answer.code:35:10: error: expected ‘;’ before ‘if’ 35 | } | ^ | ; 36 | 37 | if (l > r) { | ~~ answer.code:37:9: error: expected primary-expression before ‘if’ 37 | if (l > r) { | ^~ answer.code:35:10: error: expected ‘)’ before ‘if’ 35 | } | ^ | ) 36 | 37 | if (l > r) { | ~~ answer.code:31:13: note: to match this ‘(’ 31 | for (auto c : s) { | ^