QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#592567#7332. DissertationGuanYunchangCompile Error//C++98867b2024-09-26 23:39:582024-09-26 23:39:58

Details

answer.code:10:20: error: ‘>>’ should be ‘> >’ within a nested template argument list
   10 | map<char,vector<int>>frq;
      |                    ^~
      |                    > >
answer.code: In function ‘int rec(int, int)’:
answer.code:14:17: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions]
   14 |     if(mp.count({i,j}))return mp[{i,j}];
      |                 ^
answer.code:14:16: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions]
   14 |     if(mp.count({i,j}))return mp[{i,j}];
      |        ~~~~~~~~^~~~~~~
answer.code:14:34: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions]
   14 |     if(mp.count({i,j}))return mp[{i,j}];
      |                                  ^
answer.code:14:39: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions]
   14 |     if(mp.count({i,j}))return mp[{i,j}];
      |                                       ^
answer.code:18:15: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions]
   18 |     return mp[{i,j}]=ret;
      |               ^
answer.code:18:20: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions]
   18 |     return mp[{i,j}]=ret;
      |                    ^
answer.code: In function ‘int main()’:
answer.code:25:17: error: ‘nullptr’ was not declared in this scope
   25 |         cin.tie(nullptr), cout.tie(nullptr);
      |                 ^~~~~~~