Problem | gcd |
---|---|
User | phoenix348 |
Submission Time | 2025-01-20 16:43:02 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
gcd.cpp: In function ‘int main()’:
gcd.cpp:11:15: error: invalid operands of types ‘float’ and ‘float’ to binary ‘operator%’
11 | GCD= a%b;
| ~^~
| | |
| | float
| float
gcd.cpp:13:14: error: invalid operands of types ‘float’ and ‘float’ to binary ‘operator%’
13 | GCD=b%a;
| ~^~
| | |
| | float
| float