Borderou de evaluare (job #1673910)

Utilizator SolcanMihaiSolcan Mihai Andrei SolcanMihai Data 4 aprilie 2016 10:58:12
Problema Sablon Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:17:29: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(x + 1, 111, stdin); ^ user.cpp:22:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &h); ^ user.cpp: In function ‘void citireLinie()’: user.cpp:27:29: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(y + 1, 111, stdin); ^ user.cpp: In function ‘int main()’: user.cpp:172:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sablon.in", "r", stdin); ^ user.cpp:173:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sablon.out", "w", stdout); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘void citire()’ at user.cpp:17:29: /usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default] return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^ In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘void citireLinie()’ at user.cpp:27:29: /usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default] return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms568kbKilled by signal 6(SIGABRT).0
24ms572kbKilled by signal 6(SIGABRT).0
34ms572kbKilled by signal 6(SIGABRT).0
44ms568kbKilled by signal 6(SIGABRT).0
596ms524kbIncorect0
6100ms524kbIncorect0
796ms524kbIncorect0
8104ms532kbIncorect0
9Depăşit520kbTime limit exceeded.0
10Depăşit516kbTime limit exceeded.0
11Depăşit516kbTime limit exceeded.0
12Depăşit516kbTime limit exceeded.0
13Depăşit516kbTime limit exceeded.0
14Depăşit516kbTime limit exceeded.0
15Depăşit516kbTime limit exceeded.0
16Depăşit520kbTime limit exceeded.0
174ms572kbKilled by signal 6(SIGABRT).0
184ms568kbKilled by signal 6(SIGABRT).0
194ms572kbKilled by signal 6(SIGABRT).0
204ms568kbKilled by signal 6(SIGABRT).0
214ms572kbKilled by signal 6(SIGABRT).0
224ms564kbKilled by signal 6(SIGABRT).0
234ms572kbKilled by signal 6(SIGABRT).0
244ms572kbKilled by signal 6(SIGABRT).0
254ms572kbKilled by signal 6(SIGABRT).0
Punctaj total0

Ceva nu functioneaza?