Borderou de evaluare (job #2744709)

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

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: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->n, &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
12ms131kbCorect1030
22ms131kbCorect10
32ms131kbCorect10
49ms1179kbCorect100
536ms4194kbCorect10
6352ms100139kbTime limit exceeded0
7352ms187957kbTime limit exceeded00
8359ms198705kbTime limit exceeded0
9352ms144703kbTime limit exceeded0
10351ms137101kbTime limit exceeded00
Punctaj total30

Ceva nu functioneaza?