Problem waterbottles
User KL
Submission Time 2024-07-31 15:46:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

waterbottles.cpp: In function ‘int main()’:
waterbottles.cpp:6:17: error: expected primary-expression before ‘>>’ token
6 | cin >> H >> W; >> K;
| ^~
waterbottles.cpp:8:7: error: ‘i’ was not declared in this scope
8 | for (i = 0; i < H; i++){
| ^
waterbottles.cpp:9:8: error: ‘j’ was not declared in this scope
9 | for (j = 0; j < W; j++){
| ^
waterbottles.cpp:15:7: error: ‘i’ was not declared in this scope
15 | for (i = 0; i < H; i++){
| ^
waterbottles.cpp:16:8: error: ‘j’ was not declared in this scope
16 | for (j = 0; j < W; j++){
| ^
waterbottles.cpp:20:17: error: ‘Min’ was not declared in this scope; did you mean ‘min’?
20 | Min = box[i][j];
| ^~~
| min
waterbottles.cpp:24:1: error: expected ‘}’ at end of input
24 | }