Pagini recente » Borderou de evaluare (job #1375484) | Borderou de evaluare (job #1461834) | Borderou de evaluare (job #66520) | Borderou de evaluare (job #1553998) | Borderou de evaluare (job #1334494)
Borderou de evaluare (job #1334494)
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 |
1 | 12ms | 9436kb | OK | 10 |
2 | 16ms | 9832kb | OK | 10 |
3 | Depăşit | 10388kb | Time limit exceeded. | 0 |
4 | Depăşit | 11300kb | Time limit exceeded. | 0 |
5 | Depăşit | 12152kb | Time limit exceeded. | 0 |
6 | Depăşit | 12768kb | Time limit exceeded. | 0 |
7 | Depăşit | 13032kb | Time limit exceeded. | 0 |
8 | Depăşit | 13444kb | Time limit exceeded. | 0 |
9 | Depăşit | 13608kb | Time limit exceeded. | 0 |
10 | Depăşit | 13608kb | Time limit exceeded. | 0 |
Punctaj total | 20 |