Problem waterbottles
User yanwen
Submission Time 2025-03-03 17:59:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

waterbottles.cpp:1:1: error: ‘include’ does not name a type
1 | include <iostream>
| ^~~~~~~
waterbottles.cpp: In function ‘int main()’:
waterbottles.cpp:9:5: error: ‘cin’ was not declared in this scope
9 | cin >> h >> w >> k;
| ^~~
waterbottles.cpp:29:5: error: ‘cout’ was not declared in this scope
29 | cout << ans;
| ^~~~
waterbottles.cpp:29:16: error: expected ‘}’ at end of input
29 | cout << ans;
| ^
waterbottles.cpp:7:12: note: to match this ‘{’
7 | int main() {
| ^