QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#97949 | #2920. Ultimate Binary Watch | HuangHanSheng | Compile Error | / | / | C++98 | 4.0kb | 2023-04-19 04:48:28 | 2023-04-19 04:48:31 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:28:26: error: ‘>>’ should be ‘> >’ within a nested template argument list 28 | typedef vector<vector<int>> vvi; | ^~ | > > answer.code:31:29: error: ‘>>’ should be ‘> >’ within a nested template argument list 31 | typedef vector<pair<int, int>> vpii; | ^~ | > > answer.code:32:27: error: ‘>>’ should be ‘> >’ within a nested template argument list 32 | typedef vector<pair<ll, ll>> vpll; | ^~ | > > answer.code:35:27: error: ‘>>’ should be ‘> >’ within a nested template argument list 35 | typedef vector<vector<char>> vvc; | ^~ | > > answer.code:36:27: error: ‘>>’ should be ‘> >’ within a nested template argument list 36 | typedef vector<vector<bool>> vvb; | ^~ | > > answer.code: In function ‘void runTestCase(int)’: answer.code:141:14: error: in C++98 ‘temp’ must be initialized by constructor, not by ‘{...}’ 141 | vi v(4), temp = { 8, 4, 2, 1 }; | ^~~~ answer.code:141:34: error: could not convert ‘{8, 4, 2, 1}’ from ‘<brace-enclosed initializer list>’ to ‘vi’ {aka ‘std::vector<int>’} 141 | vi v(4), temp = { 8, 4, 2, 1 }; | ^ | | | <brace-enclosed initializer list>