QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#429900#2810. Speedrunegypt_ioi2024_01#Compile Error//C++201.5kb2024-06-03 01:41:052024-06-05 09:25:17

Details

speedrun.code: In function ‘void dfs(int, int)’:
speedrun.code:10:5: error: ‘euler’ was not declared in this scope
   10 |     euler.push_back(i);
      |     ^~~~~
speedrun.code:11:16: error: ‘adj’ was not declared in this scope
   11 |     for(auto j:adj[i]){
      |                ^~~
speedrun.code: In function ‘void assignHints(int, int, int*, int*)’:
speedrun.code:19:9: error: ‘adj’ was not declared in this scope
   19 |         adj[A[i]].push_back(B[i]);
      |         ^~~
speedrun.code:25:16: error: ‘euler’ was not declared in this scope
   25 |             if(euler[i+1]&(1<<(j-10)))setHint(euler[i],j+1,1);
      |                ^~~~~
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);
      |   ~~~~~~^~~~~~~~~~~~~~~~~~~