Borderou de evaluare (job #816689)

Utilizator SmarandaMaria Pandele Smaranda Data 17 noiembrie 2012 12:59:20
Problema Cruce Status done
Runda FMI No Stress 3 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:38: warning: suggest explicit braces to avoid ambiguous ‘else’ user.cpp:10: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:11: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:13: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:8: warning: ‘num’ 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 user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:15: /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/ccnQmgbF.o: In function `main': user.cpp:(.text+0x75): warning: the `gets' function is dangerous and should not be used.
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms240kbIncorect0
20ms240kbIncorect0
34ms244kbIncorect0
40ms240kbIncorect0
50ms244kbIncorect0
64ms240kbIncorect0
74ms244kbIncorect0
84ms240kbIncorect0
94ms244kbIncorect0
104ms244kbIncorect0
Punctaj total0

Ceva nu functioneaza?