QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#546866#8833. Equalizer Ehrmantrautucup-team4296#Compile Error//C++203.6kb2024-09-04 15:04:222024-09-04 15:04:23

详细

answer.code:4:12: error: expected unqualified-id before ‘long’
    4 | #define ll long long
      |            ^~~~
answer.code:37:17: note: in expansion of macro ‘ll’
   37 |     modint<mod>(ll o=0){x=o;}
      |                 ^~
answer.code:37:17: error: expected ‘)’ before ‘long’
   37 |     modint<mod>(ll o=0){x=o;}
      |                ~^
      |                 )
answer.code: In function ‘void solve()’:
answer.code:75:14: error: conversion from ‘int’ to non-scalar type ‘mint’ {aka ‘modint<998244353>’} requested
   75 |     mint ans=0;
      |              ^
answer.code:76:16: error: conversion from ‘int’ to non-scalar type ‘mint’ {aka ‘modint<998244353>’} requested
   76 |     for(mint i=1;i<=m;i++){
      |                ^