Pagini recente » Borderou de evaluare (job #2259835) | Borderou de evaluare (job #2360817) | Borderou de evaluare (job #2918826) | Borderou de evaluare (job #1433412) | Borderou de evaluare (job #1434443)
Borderou de evaluare (job #1434443)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[3000000]’ [-Wformat=]
scanf("%s", &pattern);
^
user.cpp:18:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[3000000]’ [-Wformat=]
scanf("%s", &Text);
^
user.cpp:24:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Map[i] = P++;
^
user.cpp:30:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pH = pH * P + Map[pattern[i]];
^
user.cpp:37:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
has = has * P + Map[Text[i]];
^
user.cpp:43:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
has = has * P + Map[Text[i]];
^
user.cpp:49:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
has -= power * Map[Text[i-l+1]];
^
user.cpp:14:39: 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:15:41: 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:17:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &pattern);
^
user.cpp:18:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &Text);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 436kb | OK | 2 | 2 |
| 2 | 0ms | 436kb | OK | 2 | 2 |
| 3 | 0ms | 448kb | Incorect | 0 | 0 |
| 4 | 0ms | 448kb | Incorect | 0 | 0 |
| 5 | 0ms | 440kb | Incorect | 0 | 0 |
| 6 | 0ms | 444kb | Incorect | 0 | 0 |
| 7 | 0ms | 444kb | Incorect | 0 | 0 |
| 8 | 0ms | 444kb | Incorect | 0 | 0 |
| 9 | 0ms | 448kb | Incorect | 0 | 0 |
| 10 | 0ms | 440kb | OK | 2 | 2 |
| 11 | 0ms | 444kb | Incorect | 0 | 0 |
| 12 | 0ms | 444kb | OK | 2 | 2 |
| 13 | 0ms | 444kb | OK | 2 | 2 |
| 14 | 0ms | 444kb | Incorect | 0 | 0 |
| 15 | 0ms | 436kb | OK | 2 | 2 |
| 16 | 0ms | 440kb | Incorect | 0 | 0 |
| 17 | 0ms | 444kb | Incorect | 0 | 0 |
| 18 | 0ms | 436kb | OK | 2 | 2 |
| 19 | 0ms | 444kb | OK | 2 | 2 |
| 20 | 0ms | 444kb | Incorect | 0 | 0 |
| 21 | 16ms | 1620kb | Incorect | 0 | 0 |
| 22 | 24ms | 2348kb | Incorect | 0 |
| 23 | 20ms | 2100kb | Incorect | 0 |
| 24 | 16ms | 1672kb | Incorect | 0 |
| 25 | 12ms | 1552kb | Incorect | 0 |
| 26 | 28ms | 2296kb | Incorect | 0 |
| 27 | 20ms | 2096kb | Incorect | 0 |
| 28 | 16ms | 1768kb | Incorect | 0 |
| 29 | 16ms | 1884kb | Incorect | 0 |
| 30 | 24ms | 2396kb | OK | 2 |
| 31 | 24ms | 2392kb | OK | 2 | 0 |
| 32 | 20ms | 2224kb | Incorect | 0 |
| 33 | 16ms | 1880kb | Incorect | 0 |
| 34 | 20ms | 2240kb | Incorect | 0 |
| 35 | 24ms | 2284kb | Incorect | 0 |
| 36 | 16ms | 1556kb | Incorect | 0 |
| 37 | 20ms | 2284kb | Incorect | 0 |
| 38 | 20ms | 1912kb | Incorect | 0 |
| 39 | 16ms | 1692kb | Incorect | 0 |
| 40 | 16ms | 1824kb | Incorect | 0 |
| 41 | 20ms | 2032kb | Incorect | 0 | 0 |
| 42 | 16ms | 1752kb | Incorect | 0 |
| 43 | 20ms | 2112kb | Incorect | 0 |
| 44 | 20ms | 2128kb | Incorect | 0 |
| 45 | 16ms | 1800kb | Incorect | 0 |
| 46 | 16ms | 1636kb | Incorect | 0 |
| 47 | 20ms | 2004kb | Incorect | 0 |
| 48 | 24ms | 2304kb | Incorect | 0 |
| 49 | 44ms | 4348kb | OK | 2 |
| 50 | 24ms | 2400kb | OK | 2 |
| Punctaj total | 16 |