Problem prime
User cjcube
Submission Time 2023-11-08 09:44:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prime.cpp: In function ‘int main()’:
prime.cpp:7:23: error: ‘ceiling’ was not declared in this scope
7 | for (int i = 2; i <= ceiling(sqrt(a)); i++) {
| ^~~~~~~