Pagini recente » Borderou de evaluare (job #3223996) | Borderou de evaluare (job #207099) | Borderou de evaluare (job #2534288) | Borderou de evaluare (job #892095) | Borderou de evaluare (job #1334550)
Borderou de evaluare (job #1334550)
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/ccSSkxvm.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 | 9504kb | OK | 10 |
2 | 24ms | 10108kb | OK | 10 |
3 | 52ms | 10996kb | OK | 10 |
4 | 180ms | 12380kb | OK | 10 |
5 | 412ms | 13652kb | OK | 10 |
6 | 572ms | 14580kb | OK | 10 |
7 | 736ms | 14972kb | OK | 10 |
8 | Depăşit | 15568kb | Time limit exceeded. | 0 |
9 | Depăşit | 15812kb | Time limit exceeded. | 0 |
10 | Depăşit | 15808kb | Time limit exceeded. | 0 |
Punctaj total | 70 |