Borderou de evaluare (job #1673342)

Utilizator SolcanMihaiSolcan Mihai Andrei SolcanMihai Data 3 aprilie 2016 17:56:05
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:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(x + 1, 1500, 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:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(y + 1, 1500, stdin); ^ user.cpp: In function ‘int main()’: user.cpp:163: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:164: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:30: /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:30: /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
1Depăşit5344kbTime limit exceeded.0
2Depăşit5720kbTime limit exceeded.0
3Depăşit4468kbTime limit exceeded.0
4Depăşit5388kbTime limit exceeded.0
596ms512kbIncorect0
6100ms520kbIncorect0
792ms512kbIncorect0
8104ms516kbIncorect0
9Depăşit740kbTime limit exceeded.0
10Depăşit832kbTime limit exceeded.0
11Depăşit840kbTime limit exceeded.0
12Depăşit744kbTime limit exceeded.0
13Depăşit844kbTime limit exceeded.0
14Depăşit816kbTime limit exceeded.0
15Depăşit740kbTime limit exceeded.0
16Depăşit748kbTime limit exceeded.0
174ms600kbKilled by signal 6(SIGABRT).0
184ms604kbKilled by signal 6(SIGABRT).0
194ms608kbKilled by signal 6(SIGABRT).0
204ms604kbKilled by signal 6(SIGABRT).0
214ms604kbKilled by signal 6(SIGABRT).0
224ms604kbKilled by signal 6(SIGABRT).0
234ms608kbKilled by signal 6(SIGABRT).0
244ms608kbKilled by signal 6(SIGABRT).0
254ms608kbKilled by signal 6(SIGABRT).0
Punctaj total0

Ceva nu functioneaza?