Borderou de evaluare (job #1978282)

Utilizator livliviLivia Magureanu livlivi Data 7 mai 2017 12:31:33
Problema Afaceri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:35:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("afaceri.in","r",stdin); ^ user.cpp:36:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("afaceri.out","w",stdout); ^ user.cpp:39:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d%d%d%d%d%d%d",&n,&m,&Q,&L,&A0,&A1,&A2,&R); ^ user.cpp:41:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d",&LX); ^ user.cpp:43:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d",&X[i]); ^ user.cpp:45:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d",&LY); ^ user.cpp:47:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d",&Y[i]); ^ user.cpp:49:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("\n"); ^ user.cpp:50:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccA8CPnQ.o: In function `main': user.cpp:(.text.startup+0x13c): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1352ms15940kbOK10
2528ms15948kbOK10
3588ms15952kbOK10
4640ms15948kbOK10
5648ms15956kbOK10
6704ms15952kbOK10
71076ms15952kbOK10
82228ms15956kbOK10
9Depăşit15920kbTime limit exceeded.0
10Depăşit15920kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?