Borderou de evaluare (job #1933473)

Utilizator herbertoHerbert Mohanu herberto Data 20 martie 2017 18:56:23
Problema Branza Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin, "%d%d", &pret[i], &cant[i]); ^ user.cpp:14:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:11:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d%d", &n, &s, &t); t++; ^ user.cpp:14:44: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &pret[i], &cant[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms276kbOK1030
20ms284kbOK10
30ms336kbOK10
428ms1068kbOK1030
548ms1540kbOK10
656ms1696kbOK10
760ms1828kbOK1010
860ms1828kbOK1010
960ms1828kbOK1010
1060ms1828kbOK1010
Punctaj total100

Ceva nu functioneaza?