QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#97949#2920. Ultimate Binary WatchHuangHanShengCompile Error//C++984.0kb2023-04-19 04:48:282023-04-19 04:48:31

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>