Borderou de evaluare (job #2127767)
Utilizator | Data | 10 februarie 2018 23:40:04 | |
---|---|---|---|
Problema | Costuri | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:3:1: error: ‘ifstream’ does not name a type
ifstream f("costuri.in");
^
user.cpp:4:1: error: ‘ofstream’ does not name a type
ofstream g("costuri.out");
^
user.cpp:5:1: error: ‘map’ does not name a type
map<int, std::vector<int>>M;
^
user.cpp: In function ‘int main()’:
user.cpp:9:5: error: ‘f’ was not declared in this scope
f>>n;
^
user.cpp:15:15: error: ‘M’ was not declared in this scope
if(!x)M[0].l(x);
^
user.cpp:23:13: error: ‘M’ was not declared in this scope
M[z].l(q);
^
user.cpp:30:12: error: ‘M’ was not declared in this scope
if(M[c].size()>=p)g<<M[c][p-1]<<"\n";
^
user.cpp:30:27: error: ‘g’ was not declared in this scope
if(M[c].size()>=p)g<<M[c][p-1]<<"\n";
^
user.cpp:31:14: error: ‘g’ was not declared in this scope
else g<<-1<<"\n";
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !