Problem prime
User votesac
Submission Time 2024-01-15 17:09:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prime.cpp: In function ‘int main()’:
prime.cpp:13:8: error: ‘i’ was not declared in this scope
13 | for (i = 2; i <= sqrt(n); i++){
| ^