Borderou de evaluare (job #1765748)

Utilizator akaprosAna Kapros akapros Data 26 septembrie 2016 22:46:27
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/ccCExx9W.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
11640ms39696kbOK10
21836ms39716kbOK10
31908ms39712kbOK10
41940ms39724kbOK10
51980ms39720kbOK10
62052ms39712kbOK10
72468ms39716kbOK10
8Depăşit39672kbTime limit exceeded.0
9Depăşit39676kbTime limit exceeded.0
10Depăşit39676kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?