Borderou de evaluare (job #1760612)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 21 septembrie 2016 00:38:41
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
10ms808kbIncorect0
24ms2064kbIncorect0
34ms2296kbIncorect0
48ms3156kbIncorect0
58ms3736kbIncorect0
616ms5372kbIncorect0
720ms6112kbIncorect0
828ms7244kbIncorect0
928ms7276kbIncorect0
1036ms8012kbIncorect0
Punctaj total0

Ceva nu functioneaza?