Problem prime
User Aum
Submission Time 2024-03-26 20:00:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prime.cpp: In function ‘int32_t main()’:
prime.cpp:18:12: error: ‘i’ was not declared in this scope
18 | if (n % (i+1) == 0) {
| ^