QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#818437#9804. Guess the Polygonucup-team3953Compile Error//C++144.1kb2024-12-17 20:17:592024-12-17 20:17:59

详细

answer.code: In function ‘pll operator*(pll, pll)’:
answer.code:64:10: error: too few arguments to function ‘void check(__int128, __int128)’
   64 |     check(x.fir * y.fir);
      |     ~~~~~^~~~~~~~~~~~~~~
answer.code:47:6: note: declared here
   47 | void check(__int128 x, __int128 y) {
      |      ^~~~~
answer.code: In function ‘int main()’:
answer.code:83:20: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
   83 |         for (auto &[x, y] : p) {
      |                    ^
answer.code:89:19: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
   89 |         for (auto [x, y] : p) ++cnt[x], pos.eb(x);
      |                   ^