QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#439970#2810. Speedrunegypt_ioi2024_07#Compile Error//C++232.2kb2024-06-12 21:36:302024-06-12 21:36:32

詳細信息

speedrun.code: In function ‘void assignHints(int, int, int*, int*)’:
speedrun.code:16:20: error: ‘>>’ should be ‘> >’ within a nested template argument list
   16 |  stack<pair<int,int>> st; st.push({1,0});
      |                    ^~
      |                    > >
speedrun.code:16:35: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’
   16 |  stack<pair<int,int>> st; st.push({1,0});
      |                                   ^
speedrun.code:16:40: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’
   16 |  stack<pair<int,int>> st; st.push({1,0});
      |                                        ^
speedrun.code:26:11: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’
   26 |   st.push({u,idx+1});
      |           ^
speedrun.code:26:20: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’
   26 |   st.push({u,idx+1});
      |                    ^
speedrun.code:49:11: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’
   49 |   st.push({adj[u][idx],0});
      |           ^
speedrun.code:49:26: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’
   49 |   st.push({adj[u][idx],0});
      |                          ^
grader_speedrun.cpp: In function ‘int readvalue()’:
grader_speedrun.cpp:9:9: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 |   fscanf(input, "%d", &val);
      |   ~~~~~~^~~~~~~~~~~~~~~~~~~