Borderou de evaluare (job #2108282)

Utilizator Andreiii500Andrei Puiu Andreiii500 Data 18 ianuarie 2018 02:08:41
Problema Abc2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘long long int word2hash(char*)’: user.cpp:35:44: warning: array subscript has type ‘char’ [-Wchar-subscripts] hash += crtPower * char2number[s[i]]; ^ user.cpp: In function ‘int main()’: user.cpp:68:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=WORD_LENGTH; i < strlen(text); ++i) ^ user.cpp:70:68: warning: array subscript has type ‘char’ [-Wchar-subscripts] crtHash = crtHash / 4 + BIGGEST_POWER * char2number[text[i]]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms424kbOK100
20ms420kbOK10
30ms388kbKilled by signal 11(SIGSEGV).0
40ms400kbKilled by signal 11(SIGSEGV).0
50ms524kbIncorect0
60ms520kbIncorect0
70ms520kbIncorect0
80ms516kbIncorect0
90ms520kbIncorect0
100ms520kbIncorect0
Punctaj total0

Ceva nu functioneaza?