QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#439970 | #2810. Speedrun | egypt_ioi2024_07# | Compile Error | / | / | C++23 | 2.2kb | 2024-06-12 21:36:30 | 2024-06-12 21:36:32 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
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); | ~~~~~~^~~~~~~~~~~~~~~~~~~