Borderou de evaluare (job #598145)

Utilizator dushmiMihai-Alexandru Dusmanu dushmi Data 24 iunie 2011 17:31:23
Problema SETI Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp: In function ‘void solve()’: user.cpp:127: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:130: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp: In function ‘int main()’: user.cpp:137: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:138: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, 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 ‘void read()’ at user.cpp:23: /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/ccZIR7n6.o: In function `read()': user.cpp:(.text+0x27a): warning: the `gets' function is dangerous and should not be used. /tmp/ccZIR7n6.o: In function `solve()': user.cpp:(.text+0x2db): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
164ms2828kbOK10
216ms940kbOK10
352ms1416kbOK10
484ms1420kbOK10
5104ms2568kbOK10
6160ms3720kbOK10
7220ms4872kbOK10
8268ms4984kbOK10
9276ms4980kbOK10
10232ms4988kbOK10
Punctaj total100

Ceva nu functioneaza?