QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#418297#8416. Dzielniki [B]GuanYunchangCompile Error//C++14952b2024-05-23 12:23:372024-05-23 12:23:41

Details

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:50:11: error: ‘Getn’ was not declared in this scope; did you mean ‘GetN’?
   50 |         n=Getn();
      |           ^~~~
      |           GetN