Problem hedgehogcrimes_easy
User geometric
Submission Time 2023-02-18 08:04:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

hedgehogcrimes_easy.cpp:45:14: error: macro "rep" requires 3 arguments, but only 2 given
45 | rep(i, n - 1) {
| ^
hedgehogcrimes_easy.cpp:12: note: macro "rep" defined here
12 | #define rep(x, start, end) \
|
hedgehogcrimes_easy.cpp:46:11: error: macro "rep" requires 3 arguments, but only 2 given
46 | rep(j, k) {
| ^
hedgehogcrimes_easy.cpp:12: note: macro "rep" defined here
12 | #define rep(x, start, end) \
|
hedgehogcrimes_easy.cpp:55:10: error: macro "rep" requires 3 arguments, but only 2 given
55 | rep(i, k) ans = (ans + dp[n - 1][i]) % 998244353;
| ^
hedgehogcrimes_easy.cpp:12: note: macro "rep" defined here
12 | #define rep(x, start, end) \
|
hedgehogcrimes_easy.cpp: In function ‘int main()’:
hedgehogcrimes_easy.cpp:45:2: error: ‘rep’ was not declared in this scope
45 | rep(i, n - 1) {
| ^~~
hedgehogcrimes_easy.c