Problem gcd
User yeeeeeting
Submission Time 2025-04-12 12:02:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gcd.cpp: In function ‘int getPrice(int)’:
gcd.cpp:5:9: error: ‘supply’ was not declared in this scope
5 | while (supply(mid)!=demand(mid))
| ^~~~~~
gcd.cpp:5:22: error: ‘demand’ was not declared in this scope
5 | while (supply(mid)!=demand(mid))
| ^~~~~~
gcd.cpp:13:9: error: ‘supply’ was not declared in this scope
13 | return supply(mid);
| ^~~~~~