Borderou de evaluare (job #1738333)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 6 august 2016 14:16:11
Problema Lanterna Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:71:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] fscanf(fi,"%d" ,&v[i]); ^ user.cpp:69:28: 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:71:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d" ,&v[i]); ^ user.cpp:72:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d" ,&m); ^ user.cpp:75:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d%d%d%d" ,&a,&b,&T,&W); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit1748kbTime limit exceeded.0
256ms1756kbOK10
3Depăşit1744kbTime limit exceeded.0
4Depăşit1748kbTime limit exceeded.0
5Depăşit1744kbTime limit exceeded.0
6Depăşit1356kbTime limit exceeded.0
7Depăşit1664kbTime limit exceeded.0
8Depăşit1744kbTime limit exceeded.0
90ms280kbOK10
10Depăşit1752kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?