Problem prime
User dminh
Submission Time 2024-03-20 22:46:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prime.cpp: In function ‘int main()’:
prime.cpp:15:24: error: ‘sqrt’ was not declared in this scope
15 | for(int i=3;i<=sqrt(k);i+=2){
| ^~~~