Borderou de evaluare (job #810994)

Utilizator visanrVisan Radu visanr Data 11 noiembrie 2012 13:38:23
Problema Binar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:35: 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:35: /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/ccDniglS.o: In function `main': user.cpp:(.text+0x1b2): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms436kbOK10
24ms640kbOK10
34ms1244kbOK10
416ms2256kbOK10
524ms3268kbOK10
628ms3672kbOK10
732ms3880kbOK10
836ms4076kbOK10
944ms4276kbOK10
1040ms4280kbOK10
Punctaj total100

Ceva nu functioneaza?