Borderou de evaluare (job #2744695)

Utilizator MaxamPJORares Daniel MaxamPJO Data 24 aprilie 2021 23:19:32
Problema Componente tare conexe Status done
Runda Arhiva educationala Compilator c-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.c: In function 'read_graph': main.c:9:9: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'graph * {aka struct <anonymous> *}' [-Wformat=] scanf("%d %d", g, &m); ^ main.c: In function 'read_graph_file': main.c:22:14: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'graph * {aka struct <anonymous> *}' [-Wformat=] fscanf(pf, "%d %d", g, &m); ^ main.c:23:5: warning: unused variable 'i' [-Wunused-variable] int i; ^ main.c: In function 'read_graph': main.c:9:1: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", g, &m); ^~~~~~~~~~~~~~~~~~~~~ main.c:16:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &v, &w); ^~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'read_graph_file': main.c:22:1: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(pf, "%d %d", g, &m); ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:30:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(pf, "%d %d", &v, &w); ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbKilled by Signal 1100
22ms131kbKilled by Signal 110
32ms131kbKilled by Signal 110
42ms131kbKilled by Signal 1100
52ms131kbKilled by Signal 110
62ms131kbKilled by Signal 110
72ms131kbKilled by Signal 1100
82ms131kbKilled by Signal 110
92ms131kbKilled by Signal 110
102ms131kbKilled by Signal 1100
Punctaj total0

Ceva nu functioneaza?