QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#874618#8302. Incoming AsteroidsraincityCompile Error//C++141.7kb2025-01-28 12:26:492025-01-28 12:26:49

Details

answer.code: In function ‘int main()’:
answer.code:42:82: error: ‘k’ was not declared in this scope
   42 |         pos[tot][j] = todo[adj[tot][j]].emplace((need[tot] + 2) / 3 + sum[adj[j][k]], tot).first;
      |                                                                                  ^