Problem | gcd |
---|---|
User | shrekusmaximus |
Submission Time | 2023-05-12 22:53:19 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
gcd.cpp: In function ‘int main()’:
gcd.cpp:17:11: error: invalid operands of types ‘double’ and ‘double’ to binary ‘operator%’
17 | if (a % i == 0 && b % i ==0) {
| ~ ^ ~
| | |
| | double
| double
gcd.cpp:17:25: error: invalid operands of types ‘double’ and ‘double’ to binary ‘operator%’
17 | if (a % i == 0 && b % i ==0) {
| ~ ^ ~
| | |
| | double
| double