Borderou de evaluare (job #2708290)

Utilizator NorbiNORBI KOVER Norbi Data 18 februarie 2021 15:51:48
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:79: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:79: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
23ms131kbKilled by Signal 110
32ms131kbKilled by Signal 110
42ms131kbKilled by Signal 110
53ms131kbKilled by Signal 110
6130ms3145kbKilled by Signal 110
7169ms5505kbKilled by Signal 110
848ms1310kbKilled by Signal 110
965ms1441kbKilled by Signal 110
10170ms4849kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?