Borderou de evaluare (job #1296784)

Utilizator ovidiuz98Zamfir Ovidiu ovidiuz98 Data 21 decembrie 2014 15:10:42
Problema DistanceSum Status done
Runda Happy Birthday Infoarena 2014 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:23:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d",&n,&m); ^ user.cpp:23:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:32:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",sum); ^ user.cpp:21:40: 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:22:42: 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:23:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:25:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&p[i].x,&p[i].y); ^ user.cpp:28:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&a.x,&a.y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbIncorect0
224ms264kbIncorect0
324ms260kbIncorect0
4Depăşit492kbTime limit exceeded.0
5Depăşit492kbTime limit exceeded.0
6Depăşit1032kbTime limit exceeded.0
7Depăşit1036kbTime limit exceeded.0
8Depăşit1036kbTime limit exceeded.0
9Depăşit1032kbTime limit exceeded.0
10Depăşit1032kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?