Borderou de evaluare (job #2850342)

Utilizator cadmium_Voicu Mihai Valeriu cadmium_ Data 16 februarie 2022 17:20:57
Problema Unicat Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'void makemanach(std::string, int)': main.cpp:40:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 40 | for(int j = 1; j < tmp.size() - 1; j++) { | ~~^~~~~~~~~~~~~~~~ main.cpp: In member function 'hasifhdjl hasifhdjl::operator+(const hasifhdjl&) const': main.cpp:61:59: warning: narrowing conversion of '(((((long long int)((int)((const hasifhdjl*)this)->hasifhdjl::v[0])) * ((long long int)mamta[((int)x.hasifhdjl::len)][0])) + ((long long int)((int)x.hasifhdjl::v[0]))) % ((long long int)((int)mod)))' from 'long long int' to 'int' [-Wnarrowing] 61 | return hash{ {((ll)v[0] * pow[x.len][0] + (ll)x.v[0]) % mod, ((ll)v[1] * pow[x.len][1] + (ll)x.v[1]) % mod}, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ main.cpp:61:106: warning: narrowing conversion of '(((((long long int)((int)((const hasifhdjl*)this)->hasifhdjl::v[1])) * ((long long int)mamta[((int)x.hasifhdjl::len)][1])) + ((long long int)((int)x.hasifhdjl::v[1]))) % ((long long int)((int)mod)))' from 'long long int' to 'int' [-Wnarrowing] 61 | return hash{ {((ll)v[0] * pow[x.len][0] + (ll)x.v[0]) % mod, ((ll)v[1] * pow[x.len][1] + (ll)x.v[1]) % mod}, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ main.cpp: In member function 'hasifhdjl hasifhdjl::operator-(const hasifhdjl&) const': main.cpp:65:79: warning: narrowing conversion of '((((((long long int)((int)((const hasifhdjl*)this)->hasifhdjl::v[0])) - (((long long int)((int)x.hasifhdjl::v[0])) * ((long long int)mamta[(((int)((const hasifhdjl*)this)->hasifhdjl::len) - ((int)x.hasifhdjl::len))][0]))) % ((long long int)((int)mod))) + ((long long int)((int)mod))) % ((long long int)((int)mod)))' from 'long long int' to 'int' [-Wnarrowing] 65 | return hash{ {(((ll)v[0] - (ll)x.v[0] * pow[len - x.len][0]) % mod + mod) % mod, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ main.cpp:66:79: warning: narrowing conversion of '((((((long long int)((int)((const hasifhdjl*)this)->hasifhdjl::v[1])) - (((long long int)((int)x.hasifhdjl::v[1])) * ((long long int)mamta[(((int)((const hasifhdjl*)this)->hasifhdjl::len) - ((int)x.hasifhdjl::len))][1]))) % ((long long int)((int)mod))) + ((long long int)((int)mod))) % ((long long int)((int)mod)))' from 'long long int' to 'int' [-Wnarrowing] 66 | (((ll)v[1] - (ll)x.v[1] * pow[len - x.len][1]) % mod + mod) % mod}, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
16ms6565kbOK1010
26ms6553kbOK1010
36ms6557kbOK1010
4768ms75018kbMemory limit exceeded00
5660ms75018kbMemory limit exceeded00
61202ms74444kbTime limit exceeded00
7662ms75018kbMemory limit exceeded00
8749ms75018kbMemory limit exceeded0
9663ms75001kbMemory limit exceeded00
10773ms75018kbMemory limit exceeded0
Punctaj total30

Ceva nu functioneaza?