Borderou de evaluare (job #2708288)

Utilizator NorbiNORBI KOVER Norbi Data 18 februarie 2021 15:49:16
Problema Arbore partial de cost minim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void Citire()': main.cpp:24:43: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'int*' [-Wformat=] fscanf(f,"%ld%ld%ld",&a1,&a2,&cost); ^ main.cpp:24:43: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'int*' [-Wformat=] main.cpp:24:43: warning: format '%ld' expects argument of type 'long int*', but argument 5 has type 'int*' [-Wformat=] main.cpp: In function 'void Afisare()': main.cpp:82:75: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] fprintf(g,"%ld %ld\n",PerechFinale[i].first,PerechFinale[i].second); ^ main.cpp:82:75: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int' [-Wformat=] main.cpp: In function 'void Citire()': main.cpp:20:29: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%ld%ld",&N,&M); ^ main.cpp:24:44: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%ld%ld%ld",&a1,&a2,&cost); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbKilled by Signal 110
22ms131kbKilled by Signal 110
32ms131kbKilled by Signal 110
43ms131kbKilled by Signal 110
53ms131kbKilled by Signal 110
6229ms3088kbKilled by Signal 110
7324ms5373kbKilled by Signal 110
878ms1310kbKilled by Signal 110
9109ms1572kbKilled by Signal 110
10259ms4841kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?