Pagini recente » Borderou de evaluare (job #2931227) | Borderou de evaluare (job #2059857) | Borderou de evaluare (job #2458969) | Borderou de evaluare (job #1141753) | Borderou de evaluare (job #2731523)
Borderou de evaluare (job #2731523)
Raport evaluator
Compilare:
main.c: In function 'add':
main.c:53:18: warning: array subscript has type 'char' [-Wchar-subscripts]
if (node->child[ch] == NULL) {
^
main.c:54:18: warning: array subscript has type 'char' [-Wchar-subscripts]
node->child[ch] = &mem[alloc_cnt++];
^
main.c:55:18: warning: array subscript has type 'char' [-Wchar-subscripts]
node->child[ch]->parent = node;
^
main.c:58:21: warning: array subscript has type 'char' [-Wchar-subscripts]
node = node->child[ch];
^
main.c: In function 'rm':
main.c:96:21: warning: array subscript has type 'char' [-Wchar-subscripts]
node = node->child[ch];
^
main.c:104:14: warning: array subscript has type 'char' [-Wchar-subscripts]
node->child[ch] = 0;
^
main.c: In function 'query':
main.c:118:21: warning: array subscript has type 'char' [-Wchar-subscripts]
node = node->child[ch];
^
main.c: In function 'prefix':
main.c:132:21: warning: array subscript has type 'char' [-Wchar-subscripts]
node = node->child[ch];
^
main.c: In function 'main':
main.c:155:17: warning: unused variable 'buf' [-Wunused-variable]
char line[32], buf[32];
^~~
main.c:158:5: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen( "trie.in", "r", stdin );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:159:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen( "trie.out", "w", stdout );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:162:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets(line, 32, stdin);
^~~~~~~~~~~~~~~~~~~~~~
main.c:178: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 | 212kb | OK | 5 | 5 |
| 8 | 8ms | 208kb | OK | 5 | 5 |
| 9 | 19ms | 262kb | OK | 5 | 5 |
| 10 | 12ms | 786kb | OK | 5 | 5 |
| 11 | 15ms | 262kb | OK | 5 | 5 |
| 12 | 26ms | 1441kb | OK | 5 | 5 |
| 13 | 29ms | 1179kb | OK | 5 | 5 |
| 14 | 36ms | 446kb | OK | 5 | 5 |
| 15 | 58ms | 417kb | OK | 5 | 0 |
| 16 | 98ms | 10272kb | Incorect | 0 |
| 17 | 59ms | 4022kb | Incorect | 0 | 0 |
| 18 | 85ms | 7864kb | Incorect | 0 |
| 19 | 36ms | 262kb | OK | 5 | 10 |
| 20 | 95ms | 12976kb | OK | 5 |
| Punctaj total | 80 |