chorus.cpp: In function 'void solve()':
chorus.cpp:47:20: error: 'DP' was not declared in this scope
47 | printf("%lld", DP[k][n]);
| ^~
chorus.cpp: In function 'void input()':
chorus.cpp:22:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
22 | scanf("%d %d", &n, &k);
| ~~~~~^~~~~~~~~~~~~~~~~
chorus.cpp:23:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
23 | scanf("%s", str+1);
| ~~~~~^~~~~~~~~~~~~