Borderou de evaluare (job #735755)

Utilizator gramatovici_paulGramatovici Paul gramatovici_paul Data 17 aprilie 2012 11:22:43
Problema Cobai Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:38: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:52: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:30: warning: ‘w’ may be used uninitialized in this function user.cpp:30: warning: ‘e’ may be used uninitialized in this function In file included from /usr/include/stdio.h:910, from /usr/include/c++/4.4/cstdio:45, from /usr/include/c++/4.4/fstream:43, from user.cpp:2: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:38: /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/ccfsFNBK.o: In function `main': user.cpp:(.text+0xb6): warning: the `gets' function is dangerous and should not be used. user.cpp:(.text+0x120): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms440kbOk!5
24ms448kbOk!5
34ms608kbOk!5
44ms616kbOk!5
54ms760kbOk!5
64ms852kbOk!5
74ms940kbOk!5
84ms924kbOk!5
94ms1204kbOk!5
104ms1432kbOk!5
118ms1948kbOk!5
128ms2268kbOk!5
138ms2592kbOk!5
1412ms3664kbOk!5
158ms2820kbOk!5
168ms2932kbOk!5
174ms2324kbOk!5
1828ms6768kbOk!5
1928ms7576kbOk!5
2036ms9136kbOk!5
Punctaj total100

Ceva nu functioneaza?