QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#732813#9543. Good Partitionsucup-team5630#Compile Error//C++209.5kb2024-11-10 15:58:562024-11-10 15:58:57

詳細信息

answer.code:1:25: warning: extra tokens at end of #include directive
    1 | #include <bits/stdc++.h>#include <bits/stdc++.h>
      |                         ^
answer.code:171:6: error: redefinition of ‘void solve()’
  171 | void solve() {
      |      ^~~~~
answer.code:4:6: note: ‘void solve()’ previously defined here
    4 | void solve() {
      |      ^~~~~
answer.code:323:5: error: redefinition of ‘int main()’
  323 | int main() {
      |     ^~~~
answer.code:160:5: note: ‘int main()’ previously defined here
  160 | int main() {
      |     ^~~~
answer.code:33:16: error: mangling of ‘solve()::<lambda(auto:55&, int, int, int, int, int, int)> [with auto:55 = solve()::<lambda(auto:55&, int, int, int, int, int, int)>]’ as ‘_ZZ5solvevENKUlRT_iiiiiiE_clIS1_EEvS0_iiiiii’ conflicts with a previous mangle
   33 |     auto add = [&](auto& add, int l, int r, int s, int t, int p, int k)->void{
      |                ^
answer.code:200:16: note: previous mangling ‘solve()::<lambda(auto:58&, int, int, int, int, int, int)> [with auto:58 = solve()::<lambda(auto:58&, int, int, int, int, int, int)>]’
  200 |     auto add = [&](auto& add, int l, int r, int s, int t, int p, int k)->void{
      |                ^
answer.code:33:16: note: a later ‘-fabi-version=’ (or =0) avoids this error with a change in mangling
   33 |     auto add = [&](auto& add, int l, int r, int s, int t, int p, int k)->void{
      |                ^
answer.code:47:16: error: mangling of ‘solve()::<lambda(auto:56&, int, int, int, int, int)> [with auto:56 = solve()::<lambda(auto:56&, int, int, int, int, int)>]’ as ‘_ZZ5solvevENKUlRT_iiiiiE_clIS1_EEiS0_iiiii’ conflicts with a previous mangle
   47 |     auto get = [&](auto& get, int l, int r, int s, int t, int p)->int{
      |                ^
answer.code:214:16: note: previous mangling ‘solve()::<lambda(auto:59&, int, int, int, int, int)> [with auto:59 = solve()::<lambda(auto:59&, int, int, int, int, int)>]’
  214 |     auto get = [&](auto& get, int l, int r, int s, int t, int p)->int{
      |                ^
answer.code:47:16: note: a later ‘-fabi-version=’ (or =0) avoids this error with a change in mangling
   47 |     auto get = [&](auto& get, int l, int r, int s, int t, int p)->int{
      |                ^
answer.code:88:17: error: mangling of ‘solve()::<lambda()>’ as ‘_ZZ5solvevENKUlvE_clEv’ conflicts with a previous mangle
   88 |     auto work = [&]()->void{
      |                 ^
answer.code:255:17: note: previous mangling ‘solve()::<lambda()>’
  255 |     auto work = [&]()->void{
      |                 ^
answer.code:88:17: note: a later ‘-fabi-version=’ (or =0) avoids this error with a change in mangling
   88 |     auto work = [&]()->void{
      |                 ^
answer.code:28:15: error: mangling of ‘solve()::<lambda(int, int, int)>’ as ‘_ZZ5solvevENKUliiiE_clEiii’ conflicts with a previous mangle
   28 |     auto pd = [&](int l, int r, int p)->void{
      |               ^
answer.code:195:15: note: previous mangling ‘solve()::<lambda(int, int, int)>’
  195 |     auto pd = [&](int l, int r, int p)->void{
      |               ^
answer.code:28:15: note: a later ‘-fabi-version=’ (or =0) avoids this error with a change in mangling
   28 |     auto pd = [&](int l, int r, int p)->void{
      |               ^