Pagini recente » Borderou de evaluare (job #323464) | Borderou de evaluare (job #2982283) | Borderou de evaluare (job #1812474) | Borderou de evaluare (job #2884361) | Borderou de evaluare (job #2382944)
Borderou de evaluare (job #2382944)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:54:15: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
int* roots = malloc(sizeof(int) * (n + 1));
^~~~~~
main.c:54:15: warning: incompatible implicit declaration of built-in function 'malloc'
main.c:54:15: note: include '<stdlib.h>' or provide a declaration of 'malloc'
main.c:62:2: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration]
memset(isRoot, 0, sizeof(char) * (n + 1));
^~~~~~
main.c:62:2: warning: incompatible implicit declaration of built-in function 'memset'
main.c:62:2: note: include '<string.h>' or provide a declaration of 'memset'
main.c:88:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
free(isRoot);
^~~~
main.c:88:2: warning: incompatible implicit declaration of built-in function 'free'
main.c:88:2: note: include '<stdlib.h>' or provide a declaration of 'free'
main.c:52:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d", &n, &m);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:67:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d", &node1, &node2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 5 |
2 | 2ms | 131kb | OK | 5 |
3 | 2ms | 131kb | OK | 5 |
4 | 12ms | 131kb | OK | 5 |
5 | 2ms | 131kb | OK | 5 |
6 | 2ms | 131kb | OK | 5 |
7 | 2ms | 131kb | OK | 5 |
8 | 3ms | 131kb | OK | 5 |
9 | 3ms | 131kb | OK | 5 |
10 | 4ms | 131kb | OK | 5 |
11 | 24ms | 131kb | OK | 5 |
12 | 17ms | 262kb | OK | 5 |
13 | 24ms | 262kb | OK | 5 |
14 | 25ms | 393kb | OK | 5 |
15 | 32ms | 393kb | OK | 5 |
16 | 40ms | 393kb | OK | 5 |
17 | 60ms | 655kb | OK | 5 |
18 | 4ms | 655kb | OK | 5 |
19 | 5ms | 655kb | OK | 5 |
20 | 45ms | 655kb | OK | 5 |
Punctaj total | 100 |