Borderou de evaluare (job #1982358)

Utilizator DragosArseneDragos Arsene DragosArsene Data 18 mai 2017 15:13:11
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
10ms444kbOK22
20ms436kbOK22
30ms440kbIncorect00
40ms436kbIncorect00
50ms440kbIncorect00
60ms440kbIncorect00
70ms440kbIncorect00
80ms440kbIncorect00
90ms444kbIncorect00
100ms436kbOK22
110ms444kbIncorect00
120ms440kbOK22
130ms440kbIncorect00
140ms440kbIncorect00
150ms440kbOK22
160ms444kbIncorect00
170ms440kbIncorect00
180ms444kbOK22
190ms440kbOK22
200ms444kbIncorect00
2128ms1608kbIncorect00
2248ms2340kbIncorect0
2344ms2100kbIncorect0
2432ms1672kbIncorect0
2528ms1548kbIncorect0
2648ms2292kbIncorect0
2744ms2096kbIncorect0
2832ms1764kbIncorect0
2936ms1880kbIncorect0
3052ms2392kbIncorect0
3152ms2396kbIncorect00
3244ms2228kbIncorect0
3336ms1864kbIncorect0
3448ms2236kbIncorect0
3548ms2280kbIncorect0
3628ms1544kbIncorect0
3748ms2280kbIncorect0
3836ms1904kbIncorect0
3932ms1692kbIncorect0
4036ms1820kbIncorect0
4140ms2032kbIncorect00
4232ms1744kbIncorect0
4344ms2116kbIncorect0
4444ms2124kbIncorect0
4536ms1796kbIncorect0
4632ms1636kbIncorect0
4740ms2000kbIncorect0
4848ms2300kbIncorect0
49148ms4344kbOK2
5052ms2388kbIncorect0
Punctaj total14

Ceva nu functioneaza?