Borderou de evaluare (job #1452236)

Utilizator ASTELOTudor Enescu ASTELO Data 20 iunie 2015 13:48:28
Problema Kinetic Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:30: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(t*v[i].b+v[i].a>=x&&t*v[i].b+v[i].a<=y||t*v[i].b+v[i].a>=y&&t*v[i].b+v[i].a<=x) ^ user.cpp:7:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("kinetic.in","r",stdin); ^ user.cpp:8:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("kinetic.out","w",stdout); ^ user.cpp:9:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:11:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&v[i].a,&v[i].b); ^ user.cpp:15:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&x,&y,&t); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms268kbOK1010
20ms264kbOK1010
30ms260kbOK1010
4Depăşit268kbTime limit exceeded.00
5480ms264kbOK100
6Depăşit260kbTime limit exceeded.0
7Depăşit260kbTime limit exceeded.0
8Depăşit260kbTime limit exceeded.0
9Depăşit264kbTime limit exceeded.0
10Depăşit264kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?