| Problem | waterbomb |
|---|---|
| User | rasquait |
| Submission Time | 2025-11-30 20:10:42 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
waterbomb.cpp: In function ‘int main()’:
waterbomb.cpp:15:7: error: ‘i’ was not declared in this scope
15 | for (i = 0; i < n; ++i) cin >> array[i];
| ^
waterbomb.cpp:17:17: error: ‘i’ was not declared in this scope
17 | long T = array[i] - d;
| ^
waterbomb.cpp:29:9: error: ‘True’ was not declared in this scope
29 | while (True) {
| ^~~~
waterbomb.cpp:31:13: error: expected ‘;’ before ‘for’
31 | test = mid
| ^
| ;
32 |
33 | for (i = 1; i < n; ++i) {
| ~~~
waterbomb.cpp:45:7: error: ‘low’ was not declared in this scope; did you mean ‘pow’?
45 | if (low == high && !bool_){
| ^~~
| pow
waterbomb.cpp:45:14: error: ‘high’ was not declared in this scope
45 | if (low == high && !bool_){
| ^~~~