QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#647247#4322. rsraogps / 雪に咲く花HuluoboCompile Error//C++141.0kb2024-10-17 13:00:252024-10-17 13:00:25

Details

answer.code: In function ‘int main()’:
answer.code:24:32: error: ‘gcd’ was not declared in this scope
   24 |                         uint w=gcd(c[p],c[p+1]);
      |                                ^~~
answer.code:36:26: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
   36 |                 for(auto [l,j]:qlis[i])
      |                          ^