Problem | maximumtriangle |
---|---|
User | wrizz69 |
Submission Time | 2024-12-16 13:28:17 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
maximumtriangle.cpp: In function ‘bool read()’:
maximumtriangle.cpp:11:7: error: ‘i’ was not declared in this scope
11 | forn(i, n) assert(scanf("%d", &a[i]) == 1);
| ^
maximumtriangle.cpp:11:2: error: ‘forn’ was not declared in this scope
11 | forn(i, n) assert(scanf("%d", &a[i]) == 1);
| ^~~~
maximumtriangle.cpp: In function ‘void solve()’:
maximumtriangle.cpp:18:7: error: ‘i’ was not declared in this scope
18 | forn(i, n) {
| ^
maximumtriangle.cpp:18:2: error: ‘forn’ was not declared in this scope
18 | forn(i, n) {
| ^~~~
maximumtriangle.cpp:38:2: error: ‘fore’ was not declared in this scope
38 | fore(i, ansl, ansr) a[i] = 1;
| ^~~~