fix: minor changes
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -33,11 +33,7 @@ ll flowers(int last, int count = 1, int size = 1) {
|
|||||||
int main(){
|
int main(){
|
||||||
cin >> N >> M;
|
cin >> N >> M;
|
||||||
|
|
||||||
for (int i = 0; i <= 10000; i++) {
|
memset(memo, 0, sizeof(memo));
|
||||||
for (int j = 0; j <= 1000; j++) {
|
|
||||||
memo[i][j][0] = memo[i][j][1] = 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
cout << (flowers(0) + flowers(1)) % MOD << endl;
|
cout << (flowers(0) + flowers(1)) % MOD << endl;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user