Borderou de evaluare (job #2748314)
Utilizator | Data | 30 aprilie 2021 01:04:45 | |
---|---|---|---|
Problema | Timbre | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:14:20: error: array bound is not an integer constant before ']' token
pair <int, int> p[M];
^
main.cpp: In function 'int main()':
main.cpp:23:15: error: 'p' was not declared in this scope
fin>> p[i].first >> p[i].second;
^
main.cpp:25:10: error: 'p' was not declared in this scope
sort(p+1, p+1+m);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !