QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#534896#4927. Bounded Spanning Treeegypt_ioi2024_02#Compile Error//C++201.3kb2024-08-27 17:16:292024-08-27 17:16:29

詳細信息

answer.code: In function ‘int main()’:
answer.code:52:39: error: ‘l’ was not declared in this scope
   52 |                         ans.push_back(l + 1);
      |                                       ^
answer.code:57:29: error: ‘join’ was not declared in this scope; did you mean ‘std::ranges::views::join’?
   57 |                         if (join(e[i].u, e[i].v)) {
      |                             ^~~~
      |                             std::ranges::views::join
In file included from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:89,
                 from answer.code:1:
/usr/include/c++/13/ranges:3074:28: note: ‘std::ranges::views::join’ declared here
 3074 |     inline constexpr _Join join;
      |                            ^~~~