Borderou de evaluare (job #2150839)
Utilizator | Data | 3 martie 2018 20:17:45 | |
---|---|---|---|
Problema | Reactivi | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:3: error: expected ‘;’ before ‘std’
std::sort(v,v+n,cmp)
^
user.cpp:25:5: error: ‘dr’ was not declared in this scope
dr = min(v[i].dr, dr);
^
user.cpp:16:24: warning: unused variable ‘j’ [-Wunused-variable]
int frigidere, n, i, j, a, b;
^
user.cpp:16:27: warning: unused variable ‘a’ [-Wunused-variable]
int frigidere, n, i, j, a, b;
^
user.cpp:16:30: warning: unused variable ‘b’ [-Wunused-variable]
int frigidere, n, i, j, a, b;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !