Borderou de evaluare (job #3121523)
Utilizator | Data | 13 aprilie 2023 17:52:51 | |
---|---|---|---|
Problema | Secventa 2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:17:17: error: 'k' was not declared in this scope
17 | in >> n >> k;
| ^
main.cpp:37:13: error: 'l_max' was not declared in this scope
37 | l_max = poz_min + 1;
| ^~~~~
main.cpp:38:13: error: 'r_max' was not declared in this scope
38 | r_max = j;
| ^~~~~
main.cpp:44:30: error: 'l_max' was not declared in this scope
44 | out << sum_max << " " << l_max << " " << r_max << "\n";
| ^~~~~
main.cpp:44:46: error: 'r_max' was not declared in this scope
44 | out << sum_max << " " << l_max << " " << r_max << "\n";
| ^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !