Problem sandd
User limzuwan
Submission Time 2023-06-13 19:22:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sandd.cpp: In function ‘int getPrice(int)’:
sandd.cpp:15:4: error: ‘x’ was not declared in this scope
15 | x += (g + h)/2;
| ^
sandd.cpp:17:11: error: ‘x’ was not declared in this scope
17 | return x;
| ^
sandd.cpp:20:11: error: ‘x’ was not declared in this scope
20 | return x;
| ^