Problem prime
User yongteckrice
Submission Time 2023-01-26 14:37:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prime.cpp: In function ‘int main()’:
prime.cpp:14:7: error: ‘i’ was not declared in this scope
14 | for (i{2}; i*i < a; i++)
| ^
prime.cpp:14:20: error: expected ‘)’ before ‘;’ token
14 | for (i{2}; i*i < a; i++)
| ~ ^
| )
prime.cpp:14:22: error: ‘i’ was not declared in this scope
14 | for (i{2}; i*i < a; i++)
| ^