Borderou de evaluare (job #825355)

Utilizator geniucosOncescu Costin geniucos Data 28 noiembrie 2012 20:44:42
Problema Virus Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:35: warning: array subscript has type ‘char’ user.cpp:35: warning: array subscript has type ‘char’ user.cpp:36: warning: array subscript has type ‘char’ user.cpp:66: warning: array subscript has type ‘char’ user.cpp:67: warning: array subscript has type ‘char’ user.cpp:67: warning: array subscript has type ‘char’ user.cpp:77: 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:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:24: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:29: warning: ignoring return value of ‘char* gets(char*)’, 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* gets(char*)’, inlined from ‘int main()’ at user.cpp:29: /usr/include/bits/stdio2.h:230: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size /tmp/ccdGVtpJ.o: In function `main': user.cpp:(.text+0xf2): warning: the `gets' function is dangerous and should not be used. user.cpp:(.text+0x72): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms1332kbOK10
216ms1240kbOK10
336ms1352kbOK10
4120ms14800kbOK10
5184ms23252kbOK10
6116ms14656kbOK10
7240ms28424kbOK10
8124ms14856kbOK10
916ms2788kbOK10
108ms1868kbOK10
Punctaj total100

Ceva nu functioneaza?