Borderou de evaluare (job #2034833)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[2000005]’ [-Wformat=]
scanf("%s%s",&w,&s);
^
user.cpp:21:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[2000005]’ [-Wformat=]
user.cpp:36:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
rez1=(rez1*63+cod[w[i]])%MOD1;
^
user.cpp:37:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
rez2=(rez2*63+cod[w[i]])%MOD2;
^
user.cpp:43:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
r1=(r1*63+cod[s[i]])%MOD1;
^
user.cpp:44:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
r2=(r2*63+cod[s[i]])%MOD2;
^
user.cpp:61:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
r1-=(cod[s[i-lw]])*p1;
^
user.cpp:62:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
r2-=(cod[s[i-lw]])*p2;
^
user.cpp:67:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
r1=(r1*63+cod[s[i]])%MOD1;
^
user.cpp:68:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
r2=(r2*63+cod[s[i]])%MOD2;
^
user.cpp:17: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:18: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:21: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 | 264kb | OK | 2 | 2 |
| 2 | 0ms | 264kb | OK | 2 | 2 |
| 3 | 0ms | 264kb | Incorect | 0 | 0 |
| 4 | 0ms | 260kb | Incorect | 0 | 0 |
| 5 | 0ms | 260kb | Incorect | 0 | 0 |
| 6 | 0ms | 264kb | 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 | 268kb | Incorect | 0 | 0 |
| 12 | 0ms | 268kb | OK | 2 | 2 |
| 13 | 0ms | 272kb | Incorect | 0 | 0 |
| 14 | 0ms | 264kb | Incorect | 0 | 0 |
| 15 | 0ms | 264kb | OK | 2 | 2 |
| 16 | 0ms | 264kb | Incorect | 0 | 0 |
| 17 | 0ms | 264kb | Incorect | 0 | 0 |
| 18 | 0ms | 268kb | OK | 2 | 2 |
| 19 | 0ms | 268kb | OK | 2 | 2 |
| 20 | 0ms | 268kb | Incorect | 0 | 0 |
| 21 | 48ms | 1444kb | Incorect | 0 | 0 |
| 22 | 80ms | 2168kb | Incorect | 0 |
| 23 | 68ms | 1924kb | Incorect | 0 |
| 24 | 52ms | 1492kb | Incorect | 0 |
| 25 | 48ms | 1380kb | Incorect | 0 |
| 26 | 80ms | 2124kb | Incorect | 0 |
| 27 | 68ms | 1924kb | Incorect | 0 |
| 28 | 56ms | 1592kb | Incorect | 0 |
| 29 | 60ms | 1708kb | Incorect | 0 |
| 30 | 84ms | 2212kb | Incorect | 0 |
| 31 | 84ms | 2216kb | Incorect | 0 | 0 |
| 32 | 76ms | 2052kb | Incorect | 0 |
| 33 | 60ms | 1700kb | Incorect | 0 |
| 34 | 80ms | 2068kb | Incorect | 0 |
| 35 | 76ms | 2112kb | Incorect | 0 |
| 36 | 48ms | 1380kb | Incorect | 0 |
| 37 | 76ms | 2104kb | Incorect | 0 |
| 38 | 60ms | 1724kb | Incorect | 0 |
| 39 | 52ms | 1524kb | Incorect | 0 |
| 40 | 56ms | 1648kb | Incorect | 0 |
| 41 | 68ms | 1856kb | Incorect | 0 | 0 |
| 42 | 56ms | 1580kb | Incorect | 0 |
| 43 | 72ms | 1940kb | Incorect | 0 |
| 44 | 72ms | 1956kb | Incorect | 0 |
| 45 | 56ms | 1620kb | Incorect | 0 |
| 46 | 48ms | 1460kb | Incorect | 0 |
| 47 | 64ms | 1828kb | Incorect | 0 |
| 48 | 80ms | 2136kb | Incorect | 0 |
| 49 | 208ms | 4172kb | OK | 2 |
| 50 | 84ms | 2224kb | Incorect | 0 |
| Punctaj total | 14 |