Borderou de evaluare (job #925800)

Utilizator MciprianMMciprianM MciprianM Data 24 martie 2013 19:09:18
Problema Rama Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12: warning: unused variable ‘i’ user.cpp:12: warning: unused variable ‘j’ user.cpp:13: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:14: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:17: 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:17: /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/ccQROwi3.o: In function `main': user.cpp:(.text+0x82): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms272kbOK10
244ms428kbOK10
3120ms520kbOK10
4Depăşit780kbTime limit exceeded.0
5Depăşit872kbTime limit exceeded.0
6Depăşit860kbTime limit exceeded.0
7Depăşit880kbTime limit exceeded.0
8Depăşit880kbTime limit exceeded.0
9684ms904kbOK10
10Depăşit884kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?