QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#783976#6660. 택시 여행HuluoboCompile Error//C++143.7kb2024-11-26 12:30:352024-11-26 12:30:35

Details

answer.code: In function ‘void getsiz(LL)’:
answer.code:82:13: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
   82 |   for (auto [v, w] : G[u]) {
      |             ^
answer.code: In function ‘void getroot(LL)’:
answer.code:93:13: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
   93 |   for (auto [v, w] : G[u]) {
      |             ^
answer.code: In function ‘void getdis(LL, LL*, sgt&, std::set<std::pair<long long int, long long int> >&)’:
answer.code:108:13: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
  108 |   for (auto [v, w] : G[u]) {
      |             ^
answer.code: In function ‘void put(LL)’:
answer.code:119:10: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
  119 |     auto [d, p] = *ds[u].begin();
      |          ^
answer.code: In function ‘void ers(LL)’:
answer.code:125:10: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
  125 |     auto [d, p] = *ds[u].begin();
      |          ^
answer.code: In function ‘LL build(LL, LL)’:
answer.code:139:13: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
  139 |   for (auto [v, w] : G[u]) {
      |             ^
answer.code: In function ‘std::vector<long long int> travel(std::vector<long long int>, std::vector<long long int>, std::vector<long long int>, std::vector<long long int>, std::vector<long long int>)’:
answer.code:193:10: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
  193 |     auto [mnd, p] = *anss.begin();
      |          ^
/usr/bin/ld: /tmp/ccGrnYDf.o: in function `main':
implementer.cpp:(.text.startup+0x35e): undefined reference to `travel(std::vector<long long, std::allocator<long long> >, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)'
collect2: error: ld returned 1 exit status