| Problem | sandd |
|---|---|
| User | tomo31415 |
| Submission Time | 2025-03-16 12:12:18 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
sandd.cpp: In function ‘int getPrice(int)’:
sandd.cpp:11:24: error: expected primary-expression before ‘long’
11 | if (qs == qd) return long long(price);
| ^~~~
sandd.cpp:11:23: error: expected ‘;’ before ‘long’
11 | if (qs == qd) return long long(price);
| ^~~~~
| ;
sandd.cpp:11:34: error: conflicting declaration ‘long long int price’
11 | if (qs == qd) return long long(price);
| ^~~~~
sandd.cpp:8:9: note: previous declaration as ‘float price’
8 | float price = (a+b)/2;
| ^~~~~