Borderou de evaluare (job #1334494)

Utilizator mihail.jianuJianu Mihail mihail.jianu Data 4 februarie 2015 14:03:30
Problema Bemo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:108:40: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(path[i].first==fin.first&&path[i].second==fin.second+1||path[i].first==fin.first+1&&path[i].second==fin.second){ ^ user.cpp:77:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bemo.in","r",stdin); ^ user.cpp:78:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bemo.out","w",stdout); ^ user.cpp:79:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n",&n,&m); ^ user.cpp:81:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccQHhoOk.o: In function `main': user.cpp:(.text.startup+0x98): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms9436kbOK10
216ms9832kbOK10
3Depăşit10388kbTime limit exceeded.0
4Depăşit11300kbTime limit exceeded.0
5Depăşit12152kbTime limit exceeded.0
6Depăşit12768kbTime limit exceeded.0
7Depăşit13032kbTime limit exceeded.0
8Depăşit13444kbTime limit exceeded.0
9Depăşit13608kbTime limit exceeded.0
10Depăşit13608kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?