Borderou de evaluare (job #1765751)

Utilizator akaprosAna Kapros akapros Data 26 septembrie 2016 22:51: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:31: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:32: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:33:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &lx); ^ user.cpp:35:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &x[i]); ^ user.cpp:37:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &ly); ^ user.cpp:39:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &y[i]); ^ user.cpp:41: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:129: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/ccBxq8xe.o: In function `read()': user.cpp:(.text+0x1ae): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
11536ms31752kbOK10
21732ms31764kbOK10
31800ms31764kbOK10
41832ms31764kbOK10
51872ms31764kbOK10
61940ms31760kbOK10
72336ms31764kbOK10
8Depăşit31716kbTime limit exceeded.0
9Depăşit31716kbTime limit exceeded.0
10Depăşit31724kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?