Borderou de evaluare (job #1296761)

Utilizator ovidiuz98Zamfir Ovidiu ovidiuz98 Data 21 decembrie 2014 14:54:58
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:19: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:19:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:28:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",sum); ^ user.cpp:17: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:18: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:19: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:21: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:24: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
10ms256kbIncorect0
232ms268kbIncorect0
332ms264kbIncorect0
4Depăşit488kbTime limit exceeded.0
5Depăşit488kbTime limit exceeded.0
6Depăşit1036kbTime limit exceeded.0
7Depăşit1032kbTime limit exceeded.0
8Depăşit1028kbTime limit exceeded.0
9Depăşit1036kbTime limit exceeded.0
10Depăşit1032kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?