Borderou de evaluare (job #1054261)

Utilizator livliviLivia Magureanu livlivi Data 13 decembrie 2013 15:57:20
Problema Sediu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void dfs(int)’: user.cpp:13:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<a[x].size();i++) ^ user.cpp:16:24: error: no match for ‘operator[]’ (operand types are ‘int [16001]’ and ‘__gnu_cxx::__alloc_traits<std::allocator<mazi> >::value_type {aka mazi}’) a[x][i].r=v[a[x][i]]; ^ user.cpp:17:20: error: no match for ‘operator[]’ (operand types are ‘int [16001]’ and ‘__gnu_cxx::__alloc_traits<std::allocator<mazi> >::value_type {aka mazi}’) v[x]+=v[a[x][i]]; ^ user.cpp: In function ‘void meow(int, int)’: user.cpp:22:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<a[x].size();i++) ^ user.cpp:25:17: error: no match for ‘operator+=’ (operand types are ‘int’ and ‘__gnu_cxx::__alloc_traits<std::allocator<mazi> >::value_type {aka mazi}’) v[x]+=a[x][i]; ^ user.cpp:25:26: error: expected ‘}’ at end of input v[x]+=a[x][i]; ^ user.cpp:25:26: error: expected ‘}’ at end of input

Ceva nu functioneaza?