Borderou de evaluare (job #1196371)

Utilizator tudormaximTudor Maxim tudormaxim Data 8 iunie 2014 13:21:13
Problema Reborn Status done
Runda Algoritmiada 2014 - Runda 3, Clasele 9-10 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:72:31: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld%ld",&n,&m,&q); ^ user.cpp:72:31: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:72:31: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp: In function ‘int bsearch(int, int, int)’: user.cpp:46:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:70:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("reborn.in","r",stdin); ^ user.cpp:71:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("reborn.out","w",stdout); ^ user.cpp:72:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld%ld%ld",&n,&m,&q); ^ user.cpp:74:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&x[i],&y[i]); ^ user.cpp:78:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&q1[j],&q2[j]); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
✗10ms272kbIncorect00
✓20ms272kbIncorect00
✗3Depăşit292kbTime limit exceeded.00
✗4Depăşit1184kbTime limit exceeded.00
✗5Depăşit1944kbTime limit exceeded.00
✗6Depăşit1940kbTime limit exceeded.0
✓7Depăşit1940kbTime limit exceeded.0
✗8Depăşit792kbTime limit exceeded.00
✗9Depăşit1180kbTime limit exceeded.0
✗10Depăşit1940kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?