Borderou de evaluare (job #1982361)

Utilizator DragosArseneDragos Arsene DragosArsene Data 18 mai 2017 15:15:21
Problema Potrivirea sirurilor Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 14

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[2000001]’ [-Wformat=] fscanf(fin,"%s", &s1); ^ user.cpp:17:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[2000001]’ [-Wformat=] fscanf(fin,"%s", &s2); ^ user.cpp:31:11: warning: array subscript has type ‘char’ [-Wchar-subscripts] baza[j]=x; ^ user.cpp:49:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] key1=(key1+baza[s1[i]]*q1)%hash1; ^ user.cpp:51:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] key2=(key2+baza[s1[i]]*q2)%hash2; ^ user.cpp:58:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] key1test=(key1test+baza[s2[i]]*q1)%hash1; ^ user.cpp:60:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] key2test=(key2test+baza[s2[i]]*q2)%hash2; ^ user.cpp:75:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] key1test=((key1test-baza[s2[i-n]]*q1+hash1)*63+baza[s2[i]]+hash1)%hash1; ^ user.cpp:75:62: warning: array subscript has type ‘char’ [-Wchar-subscripts] key1test=((key1test-baza[s2[i-n]]*q1+hash1)*63+baza[s2[i]]+hash1)%hash1; ^ user.cpp:76:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] key2test=((key2test-baza[s2[i-n]]*q2+hash2)*63+baza[s2[i]]+hash2)%hash2; ^ user.cpp:76:62: warning: array subscript has type ‘char’ [-Wchar-subscripts] key2test=((key2test-baza[s2[i-n]]*q2+hash2)*63+baza[s2[i]]+hash2)%hash2; ^ user.cpp:16:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%s", &s1); ^ user.cpp:17:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%s", &s2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms436kbOK22
20ms444kbOK22
30ms444kbIncorect00
40ms444kbIncorect00
50ms440kbIncorect00
60ms440kbIncorect00
70ms440kbIncorect00
80ms444kbIncorect00
90ms436kbIncorect00
100ms444kbOK22
110ms440kbIncorect00
120ms440kbOK22
130ms444kbIncorect00
140ms436kbIncorect00
150ms444kbOK22
160ms440kbIncorect00
170ms440kbIncorect00
180ms440kbOK22
190ms444kbOK22
200ms444kbIncorect00
2128ms1616kbIncorect00
2248ms2340kbIncorect0
2340ms2092kbIncorect0
2432ms1668kbIncorect0
2528ms1544kbIncorect0
2648ms2296kbIncorect0
2740ms2088kbIncorect0
2832ms1764kbIncorect0
2936ms1876kbIncorect0
3048ms2392kbIncorect0
3152ms2396kbIncorect00
3244ms2228kbIncorect0
3336ms1868kbIncorect0
3444ms2240kbIncorect0
3548ms2284kbIncorect0
3628ms1544kbIncorect0
3748ms2280kbIncorect0
3836ms1904kbIncorect0
3932ms1692kbIncorect0
4036ms1824kbIncorect0
4140ms2036kbIncorect00
4232ms1752kbIncorect0
4344ms2116kbIncorect0
4444ms2120kbIncorect0
4532ms1800kbIncorect0
4628ms1640kbIncorect0
4740ms2000kbIncorect0
4848ms2304kbIncorect0
49152ms4340kbOK2
5048ms2392kbIncorect0
Punctaj total14

Ceva nu functioneaza?