QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#475846#6736. Alice and BobZhaoZiLongCompile Error//C++11799b2024-07-13 16:50:592024-07-13 16:50:59

详细

cc1plus: error: ‘::main’ must return ‘int’
answer.code: In function ‘int main()’:
answer.code:40:30: error: ‘fac’ was not declared in this scope
   40 |                 sum = (sum + fac[n - i] * fac[n - i] % 998244353 * ifac[n - 2 * i + 1] % 998244353) % 998244353;
      |                              ^~~
answer.code:40:68: error: ‘ifac’ was not declared in this scope
   40 |                 sum = (sum + fac[n - i] * fac[n - i] % 998244353 * ifac[n - 2 * i + 1] % 998244353) % 998244353;
      |                                                                    ^~~~