| Problem | hammeringnails |
|---|---|
| User | Karax |
| Submission Time | 2026-11-04 14:53:10 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
hammeringnails.cpp: In function ‘int main()’:
hammeringnails.cpp:29:20: error: ‘i’ was not declared in this scope
29 | cnt+= diff[i];
| ^
hammeringnails.cpp:30:21: error: ‘i’ was not declared in this scope
30 | } else if (diff[i] < 0) {
| ^