Problem mandarins
User Pan
Submission Time 2024-02-16 18:49:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mandarins.cpp:32:1: error: ‘unorder_map’ does not name a type
32 | unorder_map<ll, ll> dp;
| ^~~~~~~~~~~
mandarins.cpp: In function ‘void expo(ll, ll)’:
mandarins.cpp:39:2: error: ‘dp’ was not declared in this scope; did you mean ‘p’?
39 | dp[p] = (dp[mid]*dp[p-mid])%mod;
| ^~
| p
mandarins.cpp: In function ‘int main()’:
mandarins.cpp:45:2: error: ‘dp’ was not declared in this scope; did you mean ‘pd’?
45 | dp[0] = 1;
| ^~
| pd