Pagini recente » Borderou de evaluare (job #1725197) | Borderou de evaluare (job #438922) | Borderou de evaluare (job #275354) | Borderou de evaluare (job #2985132) | Borderou de evaluare (job #2731526)
Borderou de evaluare (job #2731526)
Raport evaluator
Compilare:
main.c: In function 'add':
main.c:53:18: warning: array subscript has type 'char' [-Wchar-subscripts]
if (node->child[ch] == NULL) {
^
main.c:54:18: warning: array subscript has type 'char' [-Wchar-subscripts]
node->child[ch] = &mem[alloc_cnt++];
^
main.c:55:18: warning: array subscript has type 'char' [-Wchar-subscripts]
node->child[ch]->parent = node;
^
main.c:58:21: warning: array subscript has type 'char' [-Wchar-subscripts]
node = node->child[ch];
^
main.c: In function 'rm':
main.c:99:21: warning: array subscript has type 'char' [-Wchar-subscripts]
node = node->child[ch];
^
main.c:104:14: warning: array subscript has type 'char' [-Wchar-subscripts]
node->child[ch] = NULL;
^
main.c: In function 'query':
main.c:119:21: warning: array subscript has type 'char' [-Wchar-subscripts]
node = node->child[ch];
^
main.c: In function 'prefix':
main.c:133:21: warning: array subscript has type 'char' [-Wchar-subscripts]
node = node->child[ch];
^
main.c: In function 'main':
main.c:156:17: warning: unused variable 'buf' [-Wunused-variable]
char line[32], buf[32];
^~~
main.c:159:5: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen( "trie.in", "r", stdin );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:160:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen( "trie.out", "w", stdout );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:163:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets(line, 32, stdin);
^~~~~~~~~~~~~~~~~~~~~~
main.c:179:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets(line, 32, stdin);
^~~~~~~~~~~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 131kb | OK | 5 | 5 |
| 2 | 2ms | 131kb | OK | 5 | 5 |
| 3 | 2ms | 131kb | OK | 5 | 5 |
| 4 | 2ms | 131kb | OK | 5 | 5 |
| 5 | 3ms | 131kb | OK | 5 | 5 |
| 6 | 3ms | 131kb | OK | 5 | 5 |
| 7 | 5ms | 204kb | OK | 5 | 5 |
| 8 | 7ms | 204kb | OK | 5 | 5 |
| 9 | 13ms | 335kb | OK | 5 | 5 |
| 10 | 12ms | 786kb | OK | 5 | 5 |
| 11 | 15ms | 262kb | OK | 5 | 5 |
| 12 | 34ms | 1474kb | OK | 5 | 5 |
| 13 | 24ms | 1179kb | OK | 5 | 5 |
| 14 | 46ms | 442kb | OK | 5 | 5 |
| 15 | 44ms | 413kb | OK | 5 | 10 |
| 16 | 83ms | 10223kb | OK | 5 |
| 17 | 69ms | 7159kb | OK | 5 | 10 |
| 18 | 107ms | 7753kb | OK | 5 |
| 19 | 44ms | 262kb | OK | 5 | 10 |
| 20 | 95ms | 12976kb | OK | 5 |
| Punctaj total | 100 |