Problem prime
User Henries
Submission Time 2024-09-29 23:18:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prime.cpp: In function ‘int main()’:
prime.cpp:17:25: error: invalid operands of types ‘long long int’ and ‘double’ to binary ‘operator^’
17 | for (long long i=2;i<(n^0.5)+1;i++){
| ~^~~~
| | |
| | double
| long long int