Borderou de evaluare (job #2707580)

Utilizator NorbiNORBI KOVER Norbi Data 17 februarie 2021 13:10:45
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In function 'void Citeste()': main.cpp:23:26: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=] fscanf(f,"%d%d",&N,&M); ^ main.cpp:23:26: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long int*' [-Wformat=] main.cpp:27:38: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=] fscanf(f,"%d%d%d",&x,&y,&dist); ^ main.cpp:27:38: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long int*' [-Wformat=] main.cpp:27:38: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'long int*' [-Wformat=] main.cpp: In function 'void Afiseaza()': main.cpp:36:30: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(g,"%d ",D[i]); ^ main.cpp: In function 'void Citeste()': main.cpp:23:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&N,&M); ^ main.cpp:27:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d%d",&x,&y,&dist); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms1310kbOK10
24ms1310kbOK10
36ms1441kbOK10
47ms1441kbOK10
531ms2097kbOK10
658ms2883kbOK10
775ms3276kbOK10
8142ms5353kbOK10
983ms4456kbKilled by Signal 110
10266ms8781kbKilled by Signal 110
Punctaj total80

Ceva nu functioneaza?