Problem losingsleep
User Joashhh
Submission Time 2024-12-11 20:57:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

losingsleep.cpp: In function ‘int findmin(int)’:
losingsleep.cpp:7:3: error: ‘a’ was not declared in this scope
7 | a = n/power;
| ^
losingsleep.cpp:8:3: error: ‘c’ was not declared in this scope
8 | c = n%power;
| ^
losingsleep.cpp:9:3: error: ‘minmimum’ was not declared in this scope; did you mean ‘minimum’?
9 | minmimum = min(a+b+c, minimum);
| ^~~~~~~~
| minimum