Problem sandd
User mingging1748
Submission Time 2025-01-26 21:04:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sandd.cpp: In function ‘int getPrice(int)’:
sandd.cpp:17:3: error: ‘dcnt’ was not declared in this scope
17 | dcnt--;
| ^~~~
sandd.cpp:18:3: error: ‘scnt’ was not declared in this scope
18 | scnt--;
| ^~~~