Borderou de evaluare (job #1766714)

Utilizator akaprosAna Kapros akapros Data 28 septembrie 2016 14:38:26
Problema Afaceri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:18:38: 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:19:72: 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:20:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &lx); ^ user.cpp:24:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &x[i]); ^ user.cpp:26:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &ly); ^ user.cpp:28:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &y[i]); ^ user.cpp:30:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s + 1); ^ user.cpp: In function ‘void write()’: user.cpp:149:40: 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); ^ /tmp/ccSq4frA.o: In function `read()': user.cpp:(.text+0x186): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1440ms32556kbOK10
2740ms32572kbOK10
3812ms32576kbOK10
4884ms32568kbOK10
5920ms32572kbOK10
6976ms32576kbOK10
71296ms32572kbOK10
8Depăşit32528kbTime limit exceeded.0
9Depăşit32532kbTime limit exceeded.0
10Depăşit32532kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?