Borderou de evaluare (job #1195938)

Utilizator cosmin79Carabet Cosmin Andrei cosmin79 Data 8 iunie 2014 11:41:27
Problema Potriveala Status done
Runda Algoritmiada 2014 - Runda 3, Open Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:76:39: 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:77:41: 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); ^ user.cpp:78:31: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(S1 + 1, NMAX, stdin); ^ user.cpp:80:31: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(S2 + 1, NMAX, stdin); ^ In file included from /usr/include/stdio.h:934:0, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:78: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 ‘int main()’ at user.cpp:80: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
18ms6232kbOK1010
28ms6244kbOK1010
38ms6316kbOK1010
420ms6620kbOK1010
5112ms8664kbOK1010
6Depăşit10024kbTime limit exceeded.00
7Depăşit10020kbTime limit exceeded.00
8Depăşit10920kbTime limit exceeded.00
9Depăşit11936kbTime limit exceeded.0
10Depăşit11344kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?