Pagini recente » Borderou de evaluare (job #1520424) | Borderou de evaluare (job #1030693) | Borderou de evaluare (job #2451786) | Borderou de evaluare (job #1871289) | Borderou de evaluare (job #2731408)
Borderou de evaluare (job #2731408)
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:91:5: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen( "trie.in", "r", stdin );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:92:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen( "trie.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 |
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 | 4ms | 131kb | OK | 5 | 5 |
7 | 5ms | 204kb | OK | 5 | 5 |
8 | 4ms | 131kb | OK | 5 | 5 |
9 | 9ms | 262kb | Incorect | 0 | 0 |
10 | 12ms | 786kb | OK | 5 | 5 |
11 | 20ms | 262kb | OK | 5 | 5 |
12 | 32ms | 1466kb | Incorect | 0 | 0 |
13 | 29ms | 1179kb | Incorect | 0 | 0 |
14 | 29ms | 393kb | OK | 5 | 5 |
15 | 35ms | 393kb | OK | 5 | 0 |
16 | 81ms | 10223kb | Incorect | 0 |
17 | 49ms | 212kb | Incorect | 0 | 0 |
18 | 70ms | 7733kb | Incorect | 0 |
19 | 50ms | 262kb | OK | 5 | 0 |
20 | 90ms | 12976kb | Incorect | 0 |
Punctaj total | 55 |