Borderou de evaluare (job #776592)

Utilizator ionut_blesneagIonut Blesneag ionut_blesneag Data 9 august 2012 23:44:23
Problema Sobo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:59: warning: unused variable ‘s’ user.cpp:16: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:17: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:23: warning: ignoring return value of ‘int scanf(const 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:2: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:21: /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/ccyjKNOd.o: In function `main': user.cpp:(.text+0x87): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms252kbCool!10
20ms248kbCool!10
34ms248kbCool!10
456ms260kbUrat.. urat de tot: raspuns gresit0
564ms272kbCool!10
6288ms292kbCool!10
7560ms324kbCool!10
8Depăşit288kbTime limit exceeded.0
9Depăşit352kbTime limit exceeded.0
10Depăşit356kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?