Borderou de evaluare (job #1982352)

Utilizator DragosArseneDragos Arsene DragosArsene Data 18 mai 2017 15:00:06
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:48:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] key1=(key1+baza[s1[i]]*q1)%hash1; ^ user.cpp:50:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] key2=(key2+baza[s1[i]]*q2)%hash2; ^ user.cpp:57:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] key1test=(key1test+baza[s2[i]]*q1)%hash1; ^ user.cpp:59:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] key2test=(key2test+baza[s2[i]]*q2)%hash2; ^ user.cpp:74:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] key1test=((key1test-baza[s2[i-n]]*q1)*63%hash1+baza[s2[i]]+hash1)%hash1; ^ user.cpp:74:62: warning: array subscript has type ‘char’ [-Wchar-subscripts] key1test=((key1test-baza[s2[i-n]]*q1)*63%hash1+baza[s2[i]]+hash1)%hash1; ^ user.cpp:75:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] key2test=((key2test-baza[s2[i-n]]*q2)*63%hash2+baza[s2[i]]+hash2)%hash2; ^ user.cpp:75:62: warning: array subscript has type ‘char’ [-Wchar-subscripts] key2test=((key2test-baza[s2[i-n]]*q2)*63%hash2+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
20ms436kbOK22
30ms440kbIncorect00
40ms432kbIncorect00
50ms432kbIncorect00
60ms436kbIncorect00
70ms436kbIncorect00
80ms436kbIncorect00
90ms436kbIncorect00
100ms432kbOK22
110ms436kbIncorect00
120ms436kbOK22
130ms436kbIncorect00
140ms436kbIncorect00
150ms440kbOK22
160ms432kbIncorect00
170ms440kbIncorect00
180ms432kbOK22
190ms436kbOK22
200ms436kbIncorect00
2140ms1604kbIncorect00
2268ms2340kbIncorect0
2360ms2088kbIncorect0
2444ms1660kbIncorect0
2540ms1540kbIncorect0
2668ms2292kbIncorect0
2760ms2092kbIncorect0
2848ms1764kbIncorect0
2952ms1880kbIncorect0
3072ms2388kbIncorect0
3172ms2384kbIncorect00
3264ms2220kbIncorect0
3352ms1868kbIncorect0
3464ms2232kbIncorect0
3568ms2280kbIncorect0
3640ms1548kbIncorect0
3768ms2276kbIncorect0
3856ms1896kbIncorect0
3944ms1688kbIncorect0
4048ms1812kbIncorect0
4156ms2028kbIncorect00
4248ms1748kbIncorect0
4360ms2108kbIncorect0
4460ms2124kbIncorect0
4548ms1792kbIncorect0
4644ms1636kbIncorect0
4756ms1996kbIncorect0
4868ms2292kbIncorect0
49152ms4336kbOK2
5072ms2388kbIncorect0
Punctaj total14

Ceva nu functioneaza?