Borderou de evaluare (job #795440)

Utilizator visanrVisan Radu visanr Data 8 octombrie 2012 20:37:42
Problema Dmg Status done
Runda Lista lui wefgef Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void Check(int, int)’: user.cpp:100: error: no match for ‘operator[]’ in ‘used[i]’ /usr/include/c++/4.4/bits/stl_map.h:442: note: candidates are: _Tp& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const _Key&) [with _Key = std::pair<int, int>, _Tp = int, _Compare = std::less<std::pair<int, int> >, _Alloc = std::allocator<std::pair<const std::pair<int, int>, int> >] user.cpp: In function ‘void Solve()’: user.cpp:161: warning: comparison between signed and unsigned integer expressions user.cpp:144: warning: unused variable ‘l’ user.cpp: In function ‘int main()’: user.cpp:167: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:168: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:170: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:172: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result

Ceva nu functioneaza?