Pagini recente » Borderou de evaluare (job #131985) | Borderou de evaluare (job #2677368) | Borderou de evaluare (job #1362203) | Borderou de evaluare (job #2948526) | Borderou de evaluare (job #2731434)
Borderou de evaluare (job #2731434)
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:76:18: warning: array subscript has type 'char' [-Wchar-subscripts]
if (node->child[ch]) {
^
main.c:77:22: warning: array subscript has type 'char' [-Wchar-subscripts]
node = node->child[ch];
^
main.c: In function 'prefix':
main.c:90:28: warning: array subscript has type 'char' [-Wchar-subscripts]
if (ch < 0 || node->child[ch] == 0)
^
main.c:92:18: warning: array subscript has type 'char' [-Wchar-subscripts]
if (node->child[ch]) {
^
main.c:93:22: warning: array subscript has type 'char' [-Wchar-subscripts]
node = node->child[ch];
^
main.c: In function 'main':
main.c:115:17: warning: unused variable 'buf' [-Wunused-variable]
char line[32], buf[32];
^~~
main.c: In function 'rm':
main.c:68:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
main.c: In function 'main':
main.c:118:5: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen( "trie.in", "r", stdin );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:119:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen( "trie.out", "w", stdout );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:122:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
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 | 4ms | 131kb | OK | 5 | 5 |
8 | 5ms | 131kb | OK | 5 | 5 |
9 | 9ms | 262kb | Incorect | 0 | 0 |
10 | 12ms | 786kb | OK | 5 | 5 |
11 | 14ms | 262kb | OK | 5 | 5 |
12 | 25ms | 1441kb | Incorect | 0 | 0 |
13 | 30ms | 1179kb | Incorect | 0 | 0 |
14 | 30ms | 393kb | OK | 5 | 5 |
15 | 34ms | 393kb | OK | 5 | 0 |
16 | 82ms | 10223kb | Incorect | 0 |
17 | 42ms | 262kb | Incorect | 0 | 0 |
18 | 81ms | 7733kb | Incorect | 0 |
19 | 42ms | 262kb | OK | 5 | 0 |
20 | 94ms | 12976kb | Incorect | 0 |
Punctaj total | 55 |