Problem sandd
User chickengoat
Submission Time 2026-07-18 09:41:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sandd.cpp: In function ‘int getPrice(int)’:
sandd.cpp:48:6: error: ‘as’ was not declared in this scope; did you mean ‘abs’?
48 | if(as>ad and bs>bd) {
| ^~
| abs
sandd.cpp:48:9: error: ‘ad’ was not declared in this scope
48 | if(as>ad and bs>bd) {
| ^~
sandd.cpp:48:16: error: ‘bs’ was not declared in this scope; did you mean ‘abs’?
48 | if(as>ad and bs>bd) {
| ^~
| abs
sandd.cpp:48:19: error: ‘bd’ was not declared in this scope
48 | if(as>ad and bs>bd) {
| ^~