QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#586376#3736. Tree Intersectiontzl_Dedicatus545Compile Error//C++143.5kb2024-09-24 11:40:272024-09-24 11:40:28

Details

answer.code: In lambda function:
answer.code:84:34: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
   84 |                         for(auto [v,i]:adj[u]){
      |                                  ^
answer.code: In lambda function:
answer.code:98:35: error: inconsistent types ‘int’ and ‘bool’ deduced for lambda return type
   98 |                         return x.l<y.l;
      |                                ~~~^~~~
answer.code: In function ‘int main()’:
answer.code:115:30: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
  115 |                         auto [l,r,i]=qu[_];
      |                              ^