Pagini recente » Cod sursa (job #2016372) | Borderou de evaluare (job #2350782) | Borderou de evaluare (job #2527332) | Borderou de evaluare (job #1059737) | Borderou de evaluare (job #1993175)
Borderou de evaluare (job #1993175)
Raport evaluator
Compilare:
user.cpp: In function ‘void insert(Trie*, int)’:
user.cpp:81:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(v[r] != str[lvl])
^
user.cpp:83:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(nod -> son[r] == NULL)
^
user.cpp:84:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nod -> son[r] = new Trie;
^
user.cpp:85:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
insert(nod -> son[r], lvl + 1);
^
user.cpp:90:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(nod -> son[win[i]] != NULL)
^
user.cpp:91:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nod -> dp[i] = nod -> son[win[i]] -> cnt * w;
^
user.cpp: In function ‘char nextch()’:
user.cpp:12:34: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buf, 1, MAXBUF, fi);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 380kb | OK | 5 |
| 2 | 0ms | 384kb | OK | 5 |
| 3 | 0ms | 696kb | OK | 5 |
| 4 | 0ms | 652kb | Incorect | 0 |
| 5 | 0ms | 752kb | Incorect | 0 |
| 6 | 0ms | 764kb | OK | 5 |
| 7 | 140ms | 26900kb | OK | 5 |
| 8 | 188ms | 34288kb | OK | 5 |
| 9 | 200ms | 38704kb | Incorect | 0 |
| 10 | 196ms | 38016kb | Incorect | 0 |
| 11 | 152ms | 23508kb | OK | 5 |
| 12 | 180ms | 30536kb | OK | 5 |
| 13 | 216ms | 35532kb | OK | 5 |
| 14 | 200ms | 34912kb | Incorect | 0 |
| 15 | 204ms | 38960kb | Incorect | 0 |
| 16 | 208ms | 39100kb | OK | 5 |
| 17 | 204ms | 39096kb | OK | 5 |
| 18 | 212ms | 39128kb | OK | 5 |
| 19 | 220ms | 44456kb | Incorect | 0 |
| 20 | 188ms | 3132kb | OK | 5 |
| Punctaj total | 65 |