QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#769734 | #9254. Random Variables | Huluobo | Compile Error | / | / | C++14 | 16.2kb | 2024-11-21 19:10:33 | 2024-11-21 19:10:33 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
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