Pagini recente » Borderou de evaluare (job #847456) | Borderou de evaluare (job #3122426) | Borderou de evaluare (job #2484681) | Borderou de evaluare (job #1590801) | Borderou de evaluare (job #2731508)
Borderou de evaluare (job #2731508)
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:94:21: warning: array subscript has type 'char' [-Wchar-subscripts]
node = node->child[ch];
^
main.c:102:14: warning: array subscript has type 'char' [-Wchar-subscripts]
node->child[ch] = 0;
^
main.c: In function 'query':
main.c:116:21: warning: array subscript has type 'char' [-Wchar-subscripts]
node = node->child[ch];
^
main.c: In function 'prefix':
main.c:130:21: warning: array subscript has type 'char' [-Wchar-subscripts]
node = node->child[ch];
^
main.c: In function 'main':
main.c:153:17: warning: unused variable 'buf' [-Wunused-variable]
char line[32], buf[32];
^~~
main.c:156:5: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen( "trie.in", "r", stdin );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:157:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen( "trie.out", "w", stdout );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:160:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets(line, 32, stdin);
^~~~~~~~~~~~~~~~~~~~~~
main.c:176: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 | 3ms | 131kb | OK | 5 | 5 |
4 | 2ms | 131kb | OK | 5 | 5 |
5 | 3ms | 131kb | OK | 5 | 5 |
6 | 4ms | 188kb | OK | 5 | 5 |
7 | 5ms | 131kb | OK | 5 | 5 |
8 | 4ms | 131kb | OK | 5 | 5 |
9 | 9ms | 262kb | OK | 5 | 5 |
10 | 15ms | 716kb | OK | 5 | 5 |
11 | 15ms | 262kb | OK | 5 | 5 |
12 | 26ms | 1441kb | OK | 5 | 5 |
13 | 47ms | 1204kb | OK | 5 | 5 |
14 | 32ms | 393kb | OK | 5 | 5 |
15 | 35ms | 393kb | OK | 5 | 0 |
16 | 82ms | 10223kb | Incorect | 0 |
17 | 41ms | 4063kb | Incorect | 0 | 0 |
18 | 72ms | 7864kb | Incorect | 0 |
19 | 43ms | 262kb | OK | 5 | 10 |
20 | 89ms | 12976kb | OK | 5 |
Punctaj total | 80 |