Borderou de evaluare (job #1788579)

Utilizator alexpetrescuAlexandru Petrescu alexpetrescu Data 26 octombrie 2016 09:15:36
Problema Smen Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:84:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(fin, "%d%d%d%d", &n, &k, &a, &b); ^ user.cpp:84:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:84:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=] user.cpp:87:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(fin, "%d", &v[i]); ^ user.cpp:84:44: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d%d%d", &n, &k, &a, &b); ^ user.cpp:87:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms284kbN-a mers treaba0
20ms408kbN-a mers treaba0
30ms408kbN-a mers treaba0
40ms396kbN-a mers treaba0
50ms400kbN-a mers treaba0
60ms404kbN-a mers treaba0
70ms284kbN-a mers treaba0
80ms408kbN-a mers treaba0
90ms344kbN-a mers treaba0
100ms404kbN-a mers treaba0
Punctaj total0

Ceva nu functioneaza?