QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#769734#9254. Random VariablesHuluoboCompile Error//C++1416.2kb2024-11-21 19:10:332024-11-21 19:10:33

详细

answer.code: In function ‘void mian()’:
answer.code:597:15: error: missing template arguments before ‘bin’
  597 |   std::vector bin(n + 1, std::vector<mint>(n + 1));
      |               ^~~
answer.code:599:5: error: ‘bin’ was not declared in this scope; did you mean ‘sin’?
  599 |     bin[i][0] = 1;
      |     ^~~
      |     sin
answer.code:609:17: error: missing template arguments before ‘dp’
  609 |     std::vector dp(n / k + 1, std::vector<mint>(n + 1));
      |                 ^~
answer.code:610:5: error: ‘dp’ was not declared in this scope
  610 |     dp[0][0] = 1;
      |     ^~
answer.code:616:58: error: ‘bin’ was not declared in this scope; did you mean ‘binm’?
  616 |         dp[i][j] = dp[i][j - 1] * i + dp[i - 1][j - k] * bin[j - 1][k - 1];
      |                                                          ^~~
      |                                                          binm