Borderou de evaluare (job #2839772)
Utilizator | Data | 26 ianuarie 2022 15:46:42 | |
---|---|---|---|
Problema | Procesor | 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:35:5: error: expected ',' or ';' before 'long'
35 | long long penalty = 0;
| ^~~~
main.cpp:39:17: error: 'penalty' was not declared in this scope
39 | penalty += p[processes.top()].cost;
| ^~~~~~~
main.cpp:44:17: error: 'penalty' was not declared in this scope
44 | penalty += p[i].cost;
| ^~~~~~~
main.cpp:52:12: error: 'penalty' was not declared in this scope
52 | out << penalty;
| ^~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !