Problem sandd
User wzhci11
Submission Time 2024-05-11 11:44:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sandd.cpp: In function ‘int getPrice(int)’:
sandd.cpp:8:9: error: ‘int64_t’ was not declared in this scope
8 | int64_t s = supply(mid);
| ^~~~~~~
sandd.cpp:9:16: error: expected ‘;’ before ‘d’
9 | int64_t d = demand(mid);
| ^~
| ;
sandd.cpp:10:13: error: ‘s’ was not declared in this scope
10 | if (s == d) {
| ^
sandd.cpp:10:18: error: ‘d’ was not declared in this scope
10 | if (s == d) {
| ^