Pagini recente » Borderou de evaluare (job #264809) | Borderou de evaluare (job #2463839) | Borderou de evaluare (job #2663824) | Borderou de evaluare (job #541578) | Borderou de evaluare (job #2731501)
Borderou de evaluare (job #2731501)
Raport evaluator
Compilare:
main.c: In function 'add':
main.c:36:18: warning: array subscript has type 'char' [-Wchar-subscripts]
if (node->child[ch] == NULL) {
^
main.c:37:18: warning: array subscript has type 'char' [-Wchar-subscripts]
node->child[ch] = &mem[alloc_cnt++];
^
main.c:38:18: warning: array subscript has type 'char' [-Wchar-subscripts]
node->child[ch]->parent = node;
^
main.c:41:21: warning: array subscript has type 'char' [-Wchar-subscripts]
node = node->child[ch];
^
main.c: In function 'rm':
main.c:72:21: warning: array subscript has type 'char' [-Wchar-subscripts]
node = node->child[ch];
^
main.c:80:14: warning: array subscript has type 'char' [-Wchar-subscripts]
node->child[ch] = 0;
^
main.c: In function 'query':
main.c:95:21: warning: array subscript has type 'char' [-Wchar-subscripts]
node = node->child[ch];
^
main.c: In function 'prefix':
main.c:109:21: warning: array subscript has type 'char' [-Wchar-subscripts]
node = node->child[ch];
^
main.c: In function 'main':
main.c:132:17: warning: unused variable 'buf' [-Wunused-variable]
char line[32], buf[32];
^~~
main.c:135:5: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen( "trie.in", "r", stdin );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:136:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen( "trie.out", "w", stdout );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:139:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets(line, 32, stdin);
^~~~~~~~~~~~~~~~~~~~~~
main.c:155: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 | 131kb | OK | 5 | 5 |
8 | 5ms | 131kb | OK | 5 | 5 |
9 | 9ms | 262kb | OK | 5 | 5 |
10 | 12ms | 786kb | OK | 5 | 5 |
11 | 15ms | 262kb | OK | 5 | 5 |
12 | 24ms | 1441kb | OK | 5 | 5 |
13 | 29ms | 1179kb | OK | 5 | 5 |
14 | 29ms | 393kb | OK | 5 | 5 |
15 | 35ms | 393kb | OK | 5 | 0 |
16 | 83ms | 10223kb | Incorect | 0 |
17 | 42ms | 4063kb | Incorect | 0 | 0 |
18 | 83ms | 7864kb | Incorect | 0 |
19 | 44ms | 262kb | OK | 5 | 10 |
20 | 90ms | 12976kb | OK | 5 |
Punctaj total | 80 |