Borderou de evaluare (job #1896214)

Utilizator VasilescuVasilescu Eliza Vasilescu Data 28 februarie 2017 15:54:11
Problema Livada3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:78:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] fscanf(fin, "%d%d%d%d", &n, &m, &c, &r); ^ user.cpp:79:49: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin, "%d%d%d%d%d", &x, &y, &z, &w, &u); ^ user.cpp:79:49: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:79:49: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:79:49: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=] user.cpp:79:49: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘long long int*’ [-Wformat=] user.cpp:78: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, &m, &c, &r); ^ user.cpp:79:50: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d%d%d%d", &x, &y, &z, &w, &u); ^ user.cpp:82:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &a[1][i]); ^ user.cpp:85:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &a[i][1]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1092kbIncorect0
24ms1808kbIncorect0
328ms5556kbIncorect0
432ms6340kbIncorect0
544ms7904kbIncorect0
644ms7912kbIncorect0
7260ms39540kbIncorect0
8260ms39544kbIncorect0
9260ms39540kbIncorect0
100ms704kbIncorect0
Punctaj total0

Ceva nu functioneaza?