![ ](<a href="https://imgbb.co/ky0gAom/"><img src="https://image.ibb.co/hWOOO8/Capture.png" alt="Capture" border="0"></a>)↵
My solution: f[i] = f[i-1]+i with f[1]=1, but I'm not sure my solution is correct. Anyone here tell me which problem on any online judge similar with the beyond problem?
My solution: f[i] = f[i-1]+i with f[1]=1, but I'm not sure my solution is correct. Anyone here tell me which problem on any online judge similar with the beyond problem?