| Problem | sandd |
|---|---|
| User | yay |
| Submission Time | 2026-09-20 12:30:11 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
sandd.cpp: In function ‘int getPrice(int)’:
sandd.cpp:10:9: error: ‘s’ was not declared in this scope
10 | s = supply(mid);
| ^
sandd.cpp:11:9: error: ‘d’ was not declared in this scope
11 | d = demand(mid);
| ^
sandd.cpp:13:23: error: expected ‘;’ before ‘}’ token
13 | return mid
| ^
| ;
14 | }
| ~
sandd.cpp:16:28: error: expected ‘;’ before ‘}’ token
16 | right = mid - 1
| ^
| ;
17 | }
| ~
sandd.cpp:19:27: error: expected ‘;’ before ‘}’ token
19 | left = mid + 1
| ^
| ;
20 | }
| ~