Borderou de evaluare (job #1084922)

Utilizator gabitzish1Gabriel Bitis gabitzish1 Data 16 ianuarie 2014 20:34:27
Problema K Aparitii Status done
Runda Infoarena Monthly 2014 - Runda 1 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:11:2: error: ‘map’ was not declared in this scope map <int, int> mp; ^ user.cpp:11:7: error: expected primary-expression before ‘int’ map <int, int> mp; ^ user.cpp:11:7: error: expected ‘;’ before ‘int’ user.cpp:17:7: error: ‘mp’ was not declared in this scope if (mp.count(x) == 0) mp[x] = 1; ^ user.cpp:24:12: error: expected primary-expression before ‘int’ for (map <int, int>::iterator it = mp.begin(); it != mp.end(); it++) ^ user.cpp:24:12: error: expected ‘;’ before ‘int’ user.cpp:24:49: error: ‘it’ was not declared in this scope for (map <int, int>::iterator it = mp.begin(); it != mp.end(); it++) ^ user.cpp:24:55: error: ‘mp’ was not declared in this scope for (map <int, int>::iterator it = mp.begin(); it != mp.end(); it++) ^

Ceva nu functioneaza?