Borderou de evaluare (job #1203334)

Utilizator cosmin79Carabet Cosmin Andrei cosmin79 Data 30 iunie 2014 20:14:03
Problema Subsecvente Status done
Runda Infoarena Monthly 2014 - Runda 6 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("subsecvente.in", "r", stdin); ^ user.cpp:15:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("subsecvente.out", "w", stdout); ^ user.cpp:17:27: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(B + 1, NMAX, stdin); ^ user.cpp:19:27: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(C + 1, NMAX, stdin); ^ 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 ‘int main()’ at user.cpp:17:27: /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 ‘int main()’ at user.cpp:19:27: /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 Punctaj/grupa
10ms248kbIncorect00
20ms244kbIncorect0
30ms240kbIncorect0
40ms256kbIncorect0
524ms5812kbIncorect0
60ms832kbIncorect0
78ms2112kbIncorect0
816ms4340kbIncorect0
924ms6112kbIncorect0
1032ms10720kbIncorect0
Penalizare 37 (pentru 74.0 minute)-37
Punctaj total0

Ceva nu functioneaza?