Problem | weddingcoins |
---|---|
User | shawn |
Submission Time | 2024-04-29 17:07:35 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
weddingcoins.cpp: In function ‘int main()’:
weddingcoins.cpp:11:5: error: conflicting declaration ‘long long int n’
11 | ll n = n * 100;
| ^
weddingcoins.cpp:9:9: note: previous declaration as ‘double n’
9 | double n;
| ^
weddingcoins.cpp:17:10: error: invalid operands of types ‘double’ and ‘long long int’ to binary ‘operator%’
17 | n = n % i;
| ~ ^ ~
| | |
| | long long int
| double