Borderou de evaluare (job #663135)

Utilizator stay_awake77Cangea Catalina stay_awake77 Data 17 ianuarie 2012 21:26:24
Problema Zip Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:41: 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:41: /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/ccDwL38T.o: In function `main': user.cpp:(.text+0x8e): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms316kbOK10
20ms348kbKilled by signal 6(SIGABRT).0
30ms344kbKilled by signal 6(SIGABRT).0
40ms344kbKilled by signal 6(SIGABRT).0
50ms348kbKilled by signal 6(SIGABRT).0
60ms344kbKilled by signal 6(SIGABRT).0
70ms348kbKilled by signal 6(SIGABRT).0
80ms340kbKilled by signal 6(SIGABRT).0
90ms348kbKilled by signal 6(SIGABRT).0
100ms348kbKilled by signal 6(SIGABRT).0
Punctaj total10

Ceva nu functioneaza?