QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#418276#8416. Dzielniki [B]ZhaoZiLongCompile Error//C++14932b2024-05-23 12:15:032024-05-23 12:16:53

详细

implementer.cpp: In function ‘long long int Ask(long long int)’:
implementer.cpp:254:18: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
  254 |         for(auto [x,y]:mp) res=res*(y+1);
      |                  ^
answer.code: In function ‘int main()’:
answer.code:48:11: error: ‘getT’ was not declared in this scope; did you mean ‘getw’?
   48 |         T=getT();
      |           ^~~~
      |           getw
answer.code:49:11: error: ‘getn’ was not declared in this scope; did you mean ‘getw’?
   49 |         n=getn();
      |           ^~~~
      |           getw
answer.code:50:11: error: ‘getQ’ was not declared in this scope; did you mean ‘getw’?
   50 |         q=getQ();
      |           ^~~~
      |           getw
answer.code:51:11: error: ‘getC’ was not declared in this scope; did you mean ‘getc’?
   51 |         c=getC();
      |           ^~~~
      |           getc
answer.code:56:48: error: ‘Ask’ was not declared in this scope
   56 |                 for(int i=1;i<=lim;i++) res[i]=Ask(i);
      |                                                ^~~
answer.code:59:17: error: ‘Answer’ was not declared in this scope
   59 |                 Answer(ans);
      |                 ^~~~~~