Borderou de evaluare (job #1910901)

Utilizator herbertoHerbert Mohanu herberto Data 7 martie 2017 18:45:32
Problema Checkin Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:29:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin, "%d%d", &bag[i], &bil[i]); ^ user.cpp:29:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:26:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &n); ^ user.cpp:29:42: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &bag[i], &bil[i]); ^ user.cpp:33:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &k, &p); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms284kbOK10
20ms280kbOK10
30ms284kbOK10
40ms300kbOK10
50ms288kbOK10
64ms296kbOK10
70ms296kbOK10
80ms284kbOK10
94ms296kbOK10
104ms296kbOK10
Punctaj total100

Ceva nu functioneaza?