Borderou de evaluare (job #1247825)

Utilizator danielmaxim95FMI Maxim Daniel danielmaxim95 Data 24 octombrie 2014 00:16:59
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:62: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
10ms432kbOK10
248ms452kbOK10
3884ms528kbOK10
4Depăşit1964kbTime limit exceeded.0
5Depăşit1964kbTime limit exceeded.0
6Depăşit1964kbTime limit exceeded.0
7Depăşit1964kbTime limit exceeded.0
8Depăşit1960kbTime limit exceeded.0
9Depăşit1964kbTime limit exceeded.0
10Depăşit1964kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?