Borderou de evaluare (job #1040363)

Utilizator alexalghisiAlghisi Alessandro Paolo alexalghisi Data 24 noiembrie 2013 14:24:53
Problema Pariuri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:8:1: error: ‘map’ does not name a type map<int,int> mp; ^ user.cpp:9:1: error: ‘set’ does not name a type set<int> st; ^ user.cpp:10:1: error: ‘set’ does not name a type set<int>::iterator it; ^ user.cpp: In function ‘int main()’: user.cpp:26:13: error: ‘mp’ was not declared in this scope mp[timp]+=s; ^ user.cpp:27:13: error: ‘st’ was not declared in this scope st.insert(timp); ^ user.cpp:30:9: error: ‘it’ was not declared in this scope for(it=st.begin();it!=st.end();++it) ^ user.cpp:30:12: error: ‘st’ was not declared in this scope for(it=st.begin();it!=st.end();++it) ^ user.cpp:31:24: error: ‘mp’ was not declared in this scope g<<(*it)<<" "<<mp[ (*it) ]<<" "; ^

Ceva nu functioneaza?