Borderou de evaluare (job #1429240)

Utilizator andrei.arnautuAndi Arnautu andrei.arnautu Data 5 mai 2015 22:33:42
Problema Abc2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void giveValues()’: user.cpp:27:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] x1 = (x1 * sigma + val[ F[i] ]) % MOD; ^ user.cpp:28:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] x2 = (x2 * sigma + val[ F[i] ]) % MOD_2; ^ user.cpp: In function ‘bool Find(int, int)’: user.cpp:34:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < Hash[q1].size(); ++i) ^ user.cpp: In function ‘void Solve()’: user.cpp:59:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] q1 = (q1 * sigma + val[ T[i] ] ) % MOD; ^ user.cpp:60:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] q2 = (q2 * sigma + val[ T[i] ] ) % MOD_2; ^ user.cpp:69:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] q1 = (q1 * sigma + val[ T[i] ] ) % MOD; ^ user.cpp:70:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] q2 = (q2 * sigma + val[ T[i] ] ) % MOD_2; ^ user.cpp:72:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] q1 -= val[ T[i - len_2] ] * rest_1; ^ user.cpp:73:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] q2 -= val[ T[i - len_2] ] * rest_2; ^ user.cpp: In function ‘void Read()’: user.cpp:42:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets( T ); ^ /tmp/cckc9eTG.o: In function `Read()': user.cpp:(.text+0x347): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
116ms11976kbOK100
216ms11976kbOK10
316ms12004kbOK10
420ms12080kbOK10
544ms12400kbOK10
6132ms13412kbOK10
7664ms17616kbOK10
8Depăşit22468kbTime limit exceeded.0
9Depăşit22472kbTime limit exceeded.0
10Depăşit22464kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?