Problem sandd
User Jellofish0406
Submission Time 2025-04-26 09:45:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sandd.cpp: In function ‘int32_t main()’:
sandd.cpp:11:23: error: a function-definition is not allowed here before ‘{’ token
11 | int getPrice (int p) {
| ^
sandd.cpp:20:9: error: ‘lo’ was not declared in this scope; did you mean ‘log’?
20 | return lo;
| ^~
| log