QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#792306#6660. 택시 여행HuluoboCompile Error//C++142.8kb2024-11-29 08:55:572024-11-29 08:56:03

Details

answer.code: In function ‘void dfs(long long int, long long int)’:
answer.code:73:14: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
   73 |     for(auto [v, w] : e[u])
      |              ^
answer.code: In function ‘void find(long long int, long long int)’:
answer.code:104:20: error: cannot convert ‘std::pair<long long int, long long int>’ to ‘long long int’ in initialization
  104 |     for(int v : e[u])
      |                    ^
answer.code: In function ‘std::vector<long long int> Travel()’:
answer.code:119:1: warning: no return statement in function returning non-void [-Wreturn-type]
  119 | }
      | ^