Borderou de evaluare (job #1296880)

Utilizator pavlov.ionPavlov Ion pavlov.ion Data 21 decembrie 2014 15:57:25
Problema DistanceSum Status done
Runda Happy Birthday Infoarena 2014 Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:19:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d %d",&V[i].x,&V[i].y); ^ user.cpp:19:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:22:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d %d",&X,&Y); ^ user.cpp:22:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:13:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("distancesum.in","r",stdin); ^ user.cpp:14:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("distancesum.out","w",stdout); ^ user.cpp:17:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&N,&M); ^ user.cpp:19:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&V[i].x,&V[i].y); ^ user.cpp:22:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&X,&Y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbOK10
28ms256kbOK10
38ms260kbOK10
4Depăşit488kbTime limit exceeded.0
5Depăşit484kbTime limit exceeded.0
660ms1008kbWall time limit exceeded.0
7Depăşit1028kbTime limit exceeded.0
8Depăşit1032kbTime limit exceeded.0
9Depăşit1032kbTime limit exceeded.0
1060ms1008kbWall time limit exceeded.0
Punctaj total30

Ceva nu functioneaza?