| Problem | trapezes |
|---|---|
| User | Fr5ctal |
| Submission Time | 2026-02-12 10:22:54 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
trapezes.cpp: In function ‘int main()’:
trapezes.cpp:21:4: error: ‘diff’ was not declared in this scope
21 | diff = a[i];
| ^~~~
trapezes.cpp:24:4: error: ‘diff’ was not declared in this scope
24 | diff = l - a[i];
| ^~~~
trapezes.cpp:27:4: error: ‘diff’ was not declared in this scope
27 | diff = a[i + 1] - a[i];
| ^~~~
trapezes.cpp:29:17: error: ‘diff’ was not declared in this scope
29 | maximum = max(diff, maximum);
| ^~~~