Problem | prime |
---|---|
User | Celest |
Submission Time | 2023-05-03 17:25:59 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prime.cpp: In function ‘int main()’:
prime.cpp:18:13: error: invalid operands of types ‘long long int’ and ‘__gnu_cxx::__enable_if<true, double>::__type’ {aka ‘double’} to binary ‘operator%’
18 | if(n%sqrt(n)==0){
| ~^~~~~~~~
| | |
| | __gnu_cxx::__enable_if<true, double>::__type {aka double}
| long long int