Borderou de evaluare (job #1714360)
Utilizator | Data | 7 iunie 2016 23:26:40 | |
---|---|---|---|
Problema | Heavytask | Status | done |
Runda | Arhiva ICPC | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:7:1: error: ‘map’ does not name a type
map <int,int> M;
^
user.cpp: In function ‘int main()’:
user.cpp:35:20: error: ‘M’ was not declared in this scope
if(M.find(2)==M.end()) M[2]=ex;
^
user.cpp:45:24: error: ‘M’ was not declared in this scope
if(M.find(s)==M.end()) M[s]=ex;
^
user.cpp:52:20: error: ‘M’ was not declared in this scope
if(M.find(x)==M.end()) M[x]=1;
^
user.cpp:57:51: error: ‘M’ was not declared in this scope
for(unordered_map <int,int> :: iterator it=M.begin(),sf=M.end();it!=sf;++it)
^
user.cpp:57:76: error: ‘sf’ was not declared in this scope
for(unordered_map <int,int> :: iterator it=M.begin(),sf=M.end();it!=sf;++it)
^
user.cpp:69:9: error: ‘M’ was not declared in this scope
M.clear();
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !