Borderou de evaluare (job #2034901)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[2000005]’ [-Wformat=]
scanf("%s%s",&w,&s);
^
user.cpp:22:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[2000005]’ [-Wformat=]
user.cpp:37:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
rez1=(rez1*62+cod[w[i]])%MOD1;
^
user.cpp:38:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
rez2=(rez2*62+cod[w[i]])%MOD2;
^
user.cpp:44:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
r1=(r1*62+cod[s[i]])%MOD1;
^
user.cpp:45:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
r2=(r2*62+cod[s[i]])%MOD2;
^
user.cpp:62:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
r1-=(cod[s[i-lw]])*p1;
^
user.cpp:63:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
r2-=(cod[s[i-lw]])*p2;
^
user.cpp:68:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
r1=(r1*62+cod[s[i]])%MOD1;
^
user.cpp:69:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
r2=(r2*62+cod[s[i]])%MOD2;
^
user.cpp:18:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("strmatch.in","r",stdin);
^
user.cpp:19:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("strmatch.out","w",stdout);
^
user.cpp:22:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s%s",&w,&s);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 260kb | OK | 2 | 2 |
| 2 | 0ms | 264kb | OK | 2 | 2 |
| 3 | 0ms | 264kb | Incorect | 0 | 0 |
| 4 | 0ms | 264kb | Incorect | 0 | 0 |
| 5 | 0ms | 264kb | Incorect | 0 | 0 |
| 6 | 0ms | 268kb | Incorect | 0 | 0 |
| 7 | 0ms | 264kb | Incorect | 0 | 0 |
| 8 | 0ms | 264kb | Incorect | 0 | 0 |
| 9 | 0ms | 264kb | Incorect | 0 | 0 |
| 10 | 0ms | 268kb | OK | 2 | 2 |
| 11 | 0ms | 264kb | Incorect | 0 | 0 |
| 12 | 0ms | 264kb | OK | 2 | 2 |
| 13 | 0ms | 264kb | Incorect | 0 | 0 |
| 14 | 0ms | 264kb | Incorect | 0 | 0 |
| 15 | 0ms | 264kb | OK | 2 | 2 |
| 16 | 0ms | 260kb | Incorect | 0 | 0 |
| 17 | 0ms | 268kb | Incorect | 0 | 0 |
| 18 | 0ms | 268kb | OK | 2 | 2 |
| 19 | 0ms | 268kb | OK | 2 | 2 |
| 20 | 0ms | 264kb | Incorect | 0 | 0 |
| 21 | 52ms | 1448kb | Incorect | 0 | 0 |
| 22 | 84ms | 2168kb | Incorect | 0 |
| 23 | 72ms | 1924kb | Incorect | 0 |
| 24 | 56ms | 1492kb | Incorect | 0 |
| 25 | 48ms | 1372kb | Incorect | 0 |
| 26 | 80ms | 2120kb | Incorect | 0 |
| 27 | 72ms | 1920kb | Incorect | 0 |
| 28 | 56ms | 1592kb | Incorect | 0 |
| 29 | 60ms | 1712kb | Incorect | 0 |
| 30 | 84ms | 2216kb | Incorect | 0 |
| 31 | 84ms | 2212kb | Incorect | 0 | 0 |
| 32 | 76ms | 2056kb | Incorect | 0 |
| 33 | 60ms | 1700kb | Incorect | 0 |
| 34 | 76ms | 2068kb | Incorect | 0 |
| 35 | 80ms | 2124kb | Incorect | 0 |
| 36 | 48ms | 1380kb | Incorect | 0 |
| 37 | 80ms | 2108kb | Incorect | 0 |
| 38 | 64ms | 1724kb | Incorect | 0 |
| 39 | 52ms | 1524kb | Incorect | 0 |
| 40 | 60ms | 1644kb | Incorect | 0 |
| 41 | 68ms | 1868kb | Incorect | 0 | 0 |
| 42 | 56ms | 1580kb | Incorect | 0 |
| 43 | 72ms | 1936kb | Incorect | 0 |
| 44 | 72ms | 1956kb | Incorect | 0 |
| 45 | 56ms | 1620kb | Incorect | 0 |
| 46 | 52ms | 1460kb | Incorect | 0 |
| 47 | 68ms | 1824kb | Incorect | 0 |
| 48 | 80ms | 2136kb | Incorect | 0 |
| 49 | 220ms | 4168kb | OK | 2 |
| 50 | 84ms | 2216kb | Incorect | 0 |
| Punctaj total | 14 |