Pagini recente » Borderou de evaluare (job #259433) | Borderou de evaluare (job #3038401) | Borderou de evaluare (job #3232676) | Borderou de evaluare (job #617691) | Borderou de evaluare (job #1334425)
Borderou de evaluare (job #1334425)
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/ccKCMMHK.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 | 9512kb | OK | 10 |
| 2 | 16ms | 10152kb | OK | 10 |
| 3 | 24ms | 11220kb | OK | 10 |
| 4 | 68ms | 13424kb | OK | 10 |
| 5 | 132ms | 15120kb | OK | 10 |
| 6 | 16ms | 9412kb | Killed by signal 6(SIGABRT). | 0 |
| 7 | 16ms | 9412kb | Killed by signal 6(SIGABRT). | 0 |
| 8 | 16ms | 9412kb | Killed by signal 6(SIGABRT). | 0 |
| 9 | 16ms | 9412kb | Killed by signal 6(SIGABRT). | 0 |
| 10 | 16ms | 9416kb | Killed by signal 6(SIGABRT). | 0 |
| Punctaj total | 50 |