Pagini recente » Borderou de evaluare (job #210867) | Borderou de evaluare (job #2020824) | Borderou de evaluare (job #1099386) | Borderou de evaluare (job #1579221) | Borderou de evaluare (job #1334511)
Borderou de evaluare (job #1334511)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:94: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:63: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:64: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:65: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:67:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/cc2asOPu.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 | 9516kb | OK | 10 |
2 | 16ms | 10172kb | OK | 10 |
3 | 24ms | 11232kb | OK | 10 |
4 | 76ms | 13428kb | OK | 10 |
5 | 148ms | 15128kb | OK | 10 |
6 | 200ms | 16372kb | OK | 10 |
7 | 260ms | 16884kb | OK | 10 |
8 | 380ms | 17720kb | OK | 10 |
9 | 388ms | 18056kb | OK | 10 |
10 | 392ms | 18060kb | OK | 10 |
Punctaj total | 100 |