Borderou de evaluare (job #937463)

Utilizator GavrilaVladGavrila Vlad GavrilaVlad Data 10 aprilie 2013 13:49:46
Problema Enigma Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:39: warning: array subscript has type ‘char’ user.cpp:40: warning: array subscript has type ‘char’ user.cpp:41: warning: array subscript has type ‘char’ user.cpp:54: warning: array subscript has type ‘char’ user.cpp:56: warning: array subscript has type ‘char’ user.cpp:21: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:22: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:25: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result user.cpp:31: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result In file included from /usr/include/stdio.h:910, from /usr/include/c++/4.4/cstdio:45, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:25: /usr/include/bits/stdio2.h:253: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms448kbOK10
24ms868kbOK10
324ms10872kbOK10
452ms18720kbOK10
516ms2684kbOK10
632ms5908kbOK10
784ms15376kbOK10
892ms20016kbOK10
9400ms1704kbOK10
1096ms32112kbOK10
Punctaj total100

Ceva nu functioneaza?