Pagini recente » Cod sursa (job #1606995) | Borderou de evaluare (job #1606995)
Borderou de evaluare (job #1606995)
Raport evaluator
Compilare:
user.c: In function ‘read’:
user.c:21:9: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration]
GRAPH *p = (GRAPH*) malloc (sizeof (GRAPH));
^
user.c:21:29: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default]
GRAPH *p = (GRAPH*) malloc (sizeof (GRAPH));
^
user.c:23:19: warning: assignment from incompatible pointer type [enabled by default]
p -> next = graph[node];
^
user.c: In function ‘BFS’:
user.c:54:18: warning: assignment from incompatible pointer type [enabled by default]
node = node -> next;
^
user.c: In function ‘read’:
user.c:17:11: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d%d", &n, &m, &s);
^
user.c:20:15: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &node, &edge);
^
user.c: In function ‘main’:
user.c:64:13: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen (IN, "r", stdin);
^
user.c:65:13: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen (OUT, "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 288kb | OK | 10 |
| 2 | 0ms | 280kb | OK | 10 |
| 3 | 0ms | 288kb | OK | 10 |
| 4 | 4ms | 444kb | OK | 10 |
| 5 | 8ms | 612kb | OK | 10 |
| 6 | 52ms | 1684kb | OK | 10 |
| 7 | 152ms | 3988kb | OK | 10 |
| 8 | 128ms | 3628kb | OK | 10 |
| 9 | 776ms | 17068kb | OK | 10 |
| 10 | 760ms | 17068kb | OK | 10 |
| Punctaj total | 100 |