Borderou de evaluare (job #1736914)

Utilizator LucianTLucian Trepteanu LucianT Data 2 august 2016 21:49:23
Problema Boom Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:40:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("boom.in","r",stdin); ^ user.cpp:41:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("boom.out","w",stdout); ^ user.cpp:42:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&m); ^ user.cpp:45:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i].cost); ^ user.cpp:46:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&p); ^ user.cpp:48:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x),v[i].mask|=(1<<(x-1)); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
120ms16836kbJust perfect!10
220ms16832kbThe rat is still alive!0
320ms16832kbThe rat is still alive!0
420ms16840kbThe rat is still alive!0
520ms16904kbThe rat is still alive!0
620ms17352kbThe rat is still alive!0
720ms17860kbThe rat is still alive!0
824ms18888kbThe rat is still alive!0
924ms20936kbThe rat is still alive!0
1024ms20936kbThe rat is still alive!0
Punctaj total10

Ceva nu functioneaza?