Borderou de evaluare (job #1334537)

Utilizator mihail.jianuJianu Mihail mihail.jianu Data 4 februarie 2015 14:22:55
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:102: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:71: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:72: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:73: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:75:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccyxgoRz.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
112ms9504kbOK10
224ms10108kbOK10
3Depăşit10960kbTime limit exceeded.0
4Depăşit12328kbTime limit exceeded.0
5Depăşit13608kbTime limit exceeded.0
6Depăşit14532kbTime limit exceeded.0
7Depăşit14924kbTime limit exceeded.0
8Depăşit15548kbTime limit exceeded.0
9Depăşit15804kbTime limit exceeded.0
10Depăşit15804kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?