Borderou de evaluare (job #1760610)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 21 septembrie 2016 00:36:00
Problema Dreptunghiuri4 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:32:61: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(fi,"%d %d %d %d " ,&c1[i],&l1[i],&c2[i],&l2[i]); ^ user.cpp:32:61: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:32:61: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:32:61: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=] user.cpp:29:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d %d " ,&n,&k); ^ user.cpp:32:62: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d %d %d %d " ,&c1[i],&l1[i],&c2[i],&l2[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms812kbIncorect0
24ms2064kbIncorect0
34ms2288kbIncorect0
48ms3156kbIncorect0
58ms3740kbIncorect0
616ms5368kbIncorect0
720ms6116kbIncorect0
828ms7248kbIncorect0
932ms7268kbIncorect0
1036ms8012kbIncorect0
Punctaj total0

Ceva nu functioneaza?