Borderou de evaluare (job #3231497)
Utilizator | Data | 26 mai 2024 21:26:27 | |
---|---|---|---|
Problema | Proc2 | 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:29:16: error: 'n' was not declared in this scope
29 | for(i=1;i<=n;i++) procesoare.push(-i);
| ^
main.cpp:43:16: error: 'proc' was not declared in this scope
43 | fout<<-proc.top()<<endl;
| ^~~~
main.cpp:21:55: warning: unused variable 'j' [-Wunused-variable]
21 | int nr_procesoare,nr_taskuri,start_time,durataa,i,j;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !