Pagini recente » Borderou de evaluare (job #2805755) | Borderou de evaluare (job #2743991) | Borderou de evaluare (job #1477443) | Borderou de evaluare (job #2181388) | Borderou de evaluare (job #1334428)
Borderou de evaluare (job #1334428)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:74: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:43: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:44: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:45: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:47:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/cciRzbxh.o: In function `main':
user.cpp:(.text.startup+0x88): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 9508kb | OK | 10 |
2 | 16ms | 10156kb | OK | 10 |
3 | 24ms | 11228kb | OK | 10 |
4 | 68ms | 13420kb | OK | 10 |
5 | 128ms | 15116kb | OK | 10 |
6 | 180ms | 16360kb | OK | 10 |
7 | 228ms | 16880kb | OK | 10 |
8 | 352ms | 17712kb | OK | 10 |
9 | 356ms | 18048kb | OK | 10 |
10 | 360ms | 18056kb | OK | 10 |
Punctaj total | 100 |