Borderou de evaluare (job #2816996)

Utilizator LicaMihaiIonutLica Mihai- Ionut LicaMihaiIonut Data 12 decembrie 2021 18:00:14
Problema Transport Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int citire()': main.cpp:10:15: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=] 10 | fscanf(fin,"%d %d",&n,&nt); | ~^ ~~ | | | | int* long int* | %ld main.cpp:10:18: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long int*' [-Wformat=] 10 | fscanf(fin,"%d %d",&n,&nt); | ~^ ~~~ | | | | int* long int* | %ld main.cpp:13:19: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=] 13 | fscanf(fin,"%d",&c[i]); | ~^ ~~~~~ | | | | | long int* | int* | %ld main.cpp: In function 'int afisare()': main.cpp:23:17: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 23 | fprintf(fout,"%d",sol); | ~^ ~~~ | | | | | long int | int | %ld
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbOK10
22ms184kbOK10
32ms184kbOK10
42ms184kbOK10
52ms184kbOK10
66ms262kbOK10
76ms274kbOK10
86ms299kbOK10
96ms294kbOK10
106ms294kbOK10
Punctaj total100

Ceva nu functioneaza?