Borderou de evaluare (job #816057)

Utilizator mathboyDragos-Alin Rotaru mathboy Data 17 noiembrie 2012 12:09:09
Problema Muzica Status done
Runda FMI No Stress 3 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:11: error: conflicting declaration ‘int M’ user.cpp:10: error: ‘M’ has a previous declaration as ‘std::tr1::unordered_map<int, int, std::tr1::hash<int>, std::equal_to<int>, std::allocator<std::pair<const int, int> > > M’ user.cpp: In function ‘int main()’: user.cpp:17: warning: format ‘%d’ expects type ‘int*’, but argument 3 has type ‘std::tr1::unordered_map<int, int, std::tr1::hash<int>, std::equal_to<int>, std::allocator<std::pair<const int, int> > >*’ user.cpp:31: error: no match for ‘operator<=’ in ‘i <= M’ user.cpp:14: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:15: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result

Ceva nu functioneaza?