Borderou de evaluare (job #1102015)

Utilizator MKLOLDragos Ristache MKLOL Data 9 februarie 2014 13:00:39
Problema Plagiat Status done
Runda Algoritmiada 2014 - Runda 2, Clasele 5-8 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:19:40: error: ‘cher’ was not declared in this scope map<pair<pair<int,int>,pair<int,int> >,cher> h; ^ user.cpp:19:44: error: template argument 2 is invalid map<pair<pair<int,int>,pair<int,int> >,cher> h; ^ user.cpp:19:44: error: template argument 4 is invalid user.cpp:19:47: error: invalid type in declaration before ‘;’ token map<pair<pair<int,int>,pair<int,int> >,cher> h; ^ user.cpp: In function ‘int main()’: user.cpp:39:18: error: no match for ‘operator[]’ (operand types are ‘int’ and ‘std::pair<std::pair<int, int>, std::pair<int, int> >’) h[mp(mp(v[i].fs-v[j].fs,v[i].sc-v[j].sc),mp(v[i].fs-v[k].fs,v[i].sc-v[k].sc))]++; ^ user.cpp:40:21: error: no match for ‘operator[]’ (operand types are ‘int’ and ‘std::pair<std::pair<int, int>, std::pair<int, int> >’) if(h[mp(mp(v[i].fs-v[j].fs,v[i].sc-v[j].sc),mp(v[i].fs-v[k].fs,v[i].sc-v[k].sc))] >=2) ^

Ceva nu functioneaza?