Borderou de evaluare (job #1195851)

Utilizator ciprianfFarcasanu Alexandru Ciprian ciprianf Data 8 iunie 2014 11:19:51
Problema Potriveala Status done
Runda Algoritmiada 2014 - Runda 3, Open Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:24:31: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(B + 1, N_MAX, stdin); ^ user.cpp:25:31: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(A + 1, N_MAX, stdin); ^ user.cpp: In function ‘int main()’: user.cpp:39:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("potriveala.in", "r", stdin); ^ user.cpp:40:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("potriveala.out", "w", stdout); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from /usr/include/c++/4.8/ext/string_conversions.h:43, from /usr/include/c++/4.8/bits/basic_string.h:2815, from /usr/include/c++/4.8/string:52, from /usr/include/c++/4.8/bits/locale_classes.h:40, from /usr/include/c++/4.8/bits/ios_base.h:41, from /usr/include/c++/4.8/ios:42, from /usr/include/c++/4.8/ostream:38, from /usr/include/c++/4.8/iostream:39, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘void citire()’ at user.cpp:24:31: /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 citire()’ at user.cpp:25:31: /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); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms408kbIncorect00
20ms404kbOK1010
30ms412kbOK1010
40ms408kbOK1010
50ms452kbOK1010
6112ms500kbIncorect00
776ms568kbOK1010
8Depăşit592kbTime limit exceeded.00
9Depăşit704kbTime limit exceeded.0
10Depăşit876kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?