Borderou de evaluare (job #1736912)

Utilizator LucianTLucian Trepteanu LucianT Data 2 august 2016 21:48:55
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
120ms16832kbJust perfect!10
220ms16836kbThe rat is still alive!0
320ms16836kbThe rat is still alive!0
420ms16844kbThe rat is still alive!0
520ms16900kbThe rat is still alive!0
620ms17348kbThe rat is still alive!0
720ms17864kbThe rat is still alive!0
824ms18884kbThe rat is still alive!0
924ms20932kbThe rat is still alive!0
1024ms20936kbThe rat is still alive!0
Punctaj total10

Ceva nu functioneaza?