Pagini recente » Borderou de evaluare (job #1897584) | Borderou de evaluare (job #2557370) | Borderou de evaluare (job #2615583) | Borderou de evaluare (job #3196700) | Borderou de evaluare (job #2034834)
Borderou de evaluare (job #2034834)
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*63+cod[w[i]])%MOD1;
^
user.cpp:38:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
rez2=(rez2*63+cod[w[i]])%MOD2;
^
user.cpp:44:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
r1=(r1*63+cod[s[i]])%MOD1;
^
user.cpp:45:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
r2=(r2*63+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*63+cod[s[i]])%MOD1;
^
user.cpp:69:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
r2=(r2*63+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 | 264kb | OK | 2 | 2 |
| 2 | 0ms | 264kb | OK | 2 | 2 |
| 3 | 0ms | 268kb | Incorect | 0 | 0 |
| 4 | 0ms | 268kb | Incorect | 0 | 0 |
| 5 | 0ms | 260kb | Incorect | 0 | 0 |
| 6 | 0ms | 268kb | Incorect | 0 | 0 |
| 7 | 0ms | 264kb | Incorect | 0 | 0 |
| 8 | 0ms | 268kb | Incorect | 0 | 0 |
| 9 | 0ms | 260kb | Incorect | 0 | 0 |
| 10 | 0ms | 268kb | OK | 2 | 2 |
| 11 | 0ms | 264kb | Incorect | 0 | 0 |
| 12 | 0ms | 268kb | OK | 2 | 2 |
| 13 | 0ms | 268kb | Incorect | 0 | 0 |
| 14 | 0ms | 264kb | Incorect | 0 | 0 |
| 15 | 0ms | 268kb | OK | 2 | 2 |
| 16 | 0ms | 264kb | Incorect | 0 | 0 |
| 17 | 0ms | 264kb | Incorect | 0 | 0 |
| 18 | 0ms | 268kb | OK | 2 | 2 |
| 19 | 0ms | 264kb | OK | 2 | 2 |
| 20 | 0ms | 268kb | Incorect | 0 | 0 |
| 21 | 48ms | 1444kb | Incorect | 0 | 0 |
| 22 | 80ms | 2172kb | Incorect | 0 |
| 23 | 68ms | 1928kb | Incorect | 0 |
| 24 | 52ms | 1496kb | Incorect | 0 |
| 25 | 48ms | 1380kb | Incorect | 0 |
| 26 | 80ms | 2120kb | Incorect | 0 |
| 27 | 68ms | 1920kb | 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 | 1692kb | Incorect | 0 |
| 34 | 76ms | 2064kb | Incorect | 0 |
| 35 | 76ms | 2104kb | Incorect | 0 |
| 36 | 48ms | 1380kb | Incorect | 0 |
| 37 | 76ms | 2104kb | Incorect | 0 |
| 38 | 60ms | 1732kb | Incorect | 0 |
| 39 | 52ms | 1520kb | Incorect | 0 |
| 40 | 60ms | 1652kb | Incorect | 0 |
| 41 | 68ms | 1864kb | Incorect | 0 | 0 |
| 42 | 56ms | 1576kb | Incorect | 0 |
| 43 | 72ms | 1944kb | Incorect | 0 |
| 44 | 72ms | 1960kb | Incorect | 0 |
| 45 | 56ms | 1620kb | Incorect | 0 |
| 46 | 48ms | 1460kb | Incorect | 0 |
| 47 | 64ms | 1824kb | Incorect | 0 |
| 48 | 80ms | 2136kb | Incorect | 0 |
| 49 | 208ms | 4172kb | OK | 2 |
| 50 | 84ms | 2220kb | Incorect | 0 |
| Punctaj total | 14 |