Borderou de evaluare (job #2731406)

Utilizator om6gaLungu Adrian om6ga Data 27 martie 2021 19:15:16
Problema Trie Status done
Runda Arhiva educationala Compilator c-32 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.c: In function 'add': main.c:35:18: warning: array subscript has type 'char' [-Wchar-subscripts] if (node->child[ch] == NULL) { ^ main.c:36:18: warning: array subscript has type 'char' [-Wchar-subscripts] node->child[ch] = &mem[alloc_cnt++]; ^ main.c:37:18: warning: array subscript has type 'char' [-Wchar-subscripts] node->child[ch]->parent = node; ^ main.c:40:21: warning: array subscript has type 'char' [-Wchar-subscripts] node = node->child[ch]; ^ main.c: In function 'rm': main.c:53:21: warning: array subscript has type 'char' [-Wchar-subscripts] node = node->child[ch]; ^ main.c: In function 'query': main.c:63:18: warning: array subscript has type 'char' [-Wchar-subscripts] if (node->child[ch]) { ^ main.c:64:22: warning: array subscript has type 'char' [-Wchar-subscripts] node = node->child[ch]; ^ main.c: In function 'prefix': main.c:77:28: warning: array subscript has type 'char' [-Wchar-subscripts] if (ch < 0 || node->child[ch] == 0) ^ main.c:79:18: warning: array subscript has type 'char' [-Wchar-subscripts] if (node->child[ch]) { ^ main.c:80:22: warning: array subscript has type 'char' [-Wchar-subscripts] node = node->child[ch]; ^ main.c: In function 'rm': main.c:55:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ main.c: In function 'main': main.c:93:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen( "grader_test20.in", "r", stdin ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:94:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen( "grader_test20.out", "w", stdout ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:95:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, 32, stdin); ^~~~~~~~~~~~~~~~~~~~~~ main.c:109: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
1400ms131kbTime limit exceeded00
2401ms131kbTime limit exceeded00
3400ms131kbTime limit exceeded00
4400ms131kbTime limit exceeded00
5403ms131kbTime limit exceeded00
6400ms131kbTime limit exceeded00
7400ms131kbTime limit exceeded00
8400ms131kbTime limit exceeded00
9403ms131kbTime limit exceeded00
10400ms131kbTime limit exceeded00
11403ms131kbTime limit exceeded00
12403ms131kbTime limit exceeded00
13400ms131kbTime limit exceeded00
14403ms131kbTime limit exceeded00
15403ms131kbTime limit exceeded00
16400ms131kbTime limit exceeded0
17400ms131kbTime limit exceeded00
18400ms131kbTime limit exceeded0
19402ms131kbTime limit exceeded00
20400ms131kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?