Problem giantduck
User jmuzhen
Submission Time 2024-12-20 00:52:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

giantduck.cpp: In function ‘long long int solve(int, int, bool)’:
giantduck.cpp:25:5: error: ‘ong’ was not declared in this scope; did you mean ‘long’?
25 | ong long ans = 0;
| ^~~
| long
giantduck.cpp:29:9: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
29 | ans = (ans + solve(idx + 1, rem - digit, tight && (digit == limit))) % mod;
| ^~~
| abs
giantduck.cpp:31:34: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
31 | return dp[idx][rem][tight] = ans;
| ^~~
| abs