Borderou de evaluare (job #663878)

Utilizator theodora_maneaManea Theodora Maria theodora_manea Data 19 ianuarie 2012 08:59:45
Problema Zip Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:70: warning: comparison between signed and unsigned integer expressions user.cpp:76: warning: comparison between signed and unsigned integer expressions user.cpp:55: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:56: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:57: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:59: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result In file included from /usr/include/stdio.h:910, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:59: /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/ccqu6jgt.o: In function `main': user.cpp:(.text+0x117): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbOK10
28ms312kbOK10
316ms308kbIncorect0
420ms312kbIncorect0
536ms312kbIncorect0
624ms312kbIncorect0
724ms312kbIncorect0
80ms248kbIncorect0
920ms268kbIncorect0
1024ms272kbIncorect0
Punctaj total20

Ceva nu functioneaza?