implementer.cpp: In function ‘void regduj260135279::init()’:
implementer.cpp:32:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
32 | scanf("%d",&n);
| ~~~~~^~~~~~~~~
implementer.cpp:45:30: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
45 | scanf("%d%d",&u,&v);
| ~~~~~^~~~~~~~~~~~~~
answer.code: In function ‘void lnk(istr, istr)’:
answer.code:16:12: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
16 | for(auto[a,b]:qwq)if(!b.empty())lnk(a,b);
| ^
answer.code:16:40: error: could not convert ‘a’ from ‘std::tuple_element<0, std::pair<const int, std::array<std::__cxx11::basic_string<int>, 2> > >::type’ {aka ‘const int’} to ‘istr’ {aka ‘std::__cxx11::basic_string<int>’}
16 | for(auto[a,b]:qwq)if(!b.empty())lnk(a,b);
| ^
| |
| std::tuple_element<0, std::pair<const int, std::array<std::__cxx11::basic_string<int>, 2> > >::type {aka const int}