Problem numberfun
User Tyx2019
Submission Time 2023-01-24 10:01:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

numberfun.cpp: In function ‘int main()’:
numberfun.cpp:13:86: error: expected ‘;’ before ‘dp’
13 | dp[i]=dp[i-1]; if(i%2==0)dp[i]=min(dp[i],dp[i/2]); if(i%3==0)dp[i]=min(dp[i],dp[i/3])
| ^
| ;
14 |
15 | dp[i]++;
| ~~