Borderou de evaluare (job #2744706)

Utilizator MaxamPJORares Daniel MaxamPJO Data 24 aprilie 2021 23:41:59
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
49ms1179kbNumar de componente gresit00
536ms4194kbNumar de componente gresit0
6352ms100139kbTime limit exceeded0
7356ms174235kbTime limit exceeded00
8361ms182890kbTime limit exceeded0
9352ms140247kbTime limit exceeded0
10350ms125566kbTime limit exceeded00
Punctaj total30

Ceva nu functioneaza?