Borderou de evaluare (job #3381176)
| Utilizator | Data | 5 decembrie 2026 09:42:11 | |
|---|---|---|---|
| Problema | Deque | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:7:26: error: 'n' was not declared in this scope
7 | for (int i = 1; i <= n; i++)
| ^
main.cpp:9:9: error: 'fin' was not declared in this scope
9 | fin >> a[i];
| ^~~
main.cpp:12:29: error: 'k' was not declared in this scope
12 | if (dq[fata] <= i - k) fata++;
| ^
main.cpp:13:18: error: 'k' was not declared in this scope
13 | if (i >= k) ans += a[dq[fata]];
| ^
main.cpp:15:5: error: 'fout' was not declared in this scope
15 | fout << ans;
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
