Borderou de evaluare (job #1247903)

Utilizator danielmaxim95FMI Maxim Daniel danielmaxim95 Data 24 octombrie 2014 11:57:50
Problema Plagiat Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void citeste()’: user.cpp:18:22: warning: format ‘%i’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%i",&np); ^ user.cpp:20:45: warning: format ‘%i’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%i %i",&p[i].x,&p[i].y); ^ user.cpp:20:45: warning: format ‘%i’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:18:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%i",&np); ^ user.cpp:20:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%i %i",&p[i].x,&p[i].y); ^ user.cpp: In function ‘int main()’: user.cpp:71:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%i",&t); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms428kbOK10
232ms444kbOK10
3564ms472kbOK10
4Depăşit1028kbTime limit exceeded.0
5Depăşit1032kbTime limit exceeded.0
6Depăşit1032kbTime limit exceeded.0
7Depăşit1028kbTime limit exceeded.0
8Depăşit1032kbTime limit exceeded.0
9Depăşit1028kbTime limit exceeded.0
10Depăşit1028kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?