Borderou de evaluare (job #1673377)

Utilizator SolcanMihaiSolcan Mihai Andrei SolcanMihai Data 3 aprilie 2016 18:31:22
Problema Sablon Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 4

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
14ms572kbKilled by signal 6(SIGABRT).0
24ms572kbKilled by signal 6(SIGABRT).0
34ms572kbKilled by signal 6(SIGABRT).0
44ms572kbKilled by signal 6(SIGABRT).0
592ms524kbOK4
6100ms524kbIncorect0
796ms528kbIncorect0
8104ms528kbIncorect0
9Depăşit520kbTime limit exceeded.0
10Depăşit520kbTime limit exceeded.0
11Depăşit516kbTime limit exceeded.0
12Depăşit516kbTime limit exceeded.0
13Depăşit516kbTime limit exceeded.0
14Depăşit516kbTime limit exceeded.0
15Depăşit520kbTime limit exceeded.0
16Depăşit516kbTime limit exceeded.0
174ms572kbKilled by signal 6(SIGABRT).0
184ms572kbKilled by signal 6(SIGABRT).0
194ms572kbKilled by signal 6(SIGABRT).0
204ms572kbKilled by signal 6(SIGABRT).0
214ms572kbKilled by signal 6(SIGABRT).0
224ms572kbKilled by signal 6(SIGABRT).0
234ms572kbKilled by signal 6(SIGABRT).0
244ms572kbKilled by signal 6(SIGABRT).0
254ms572kbKilled by signal 6(SIGABRT).0
Punctaj total4

Ceva nu functioneaza?