Borderou de evaluare (job #833176)

Utilizator ericptsStavarache Petru Eric ericpts Data 11 decembrie 2012 23:32:24
Problema Insule Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 88

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:72: warning: format ‘%d’ expects type ‘int*’, but argument 2 has type ‘char*’ user.cpp:72: warning: format ‘%d’ expects type ‘int*’, but argument 3 has type ‘char*’ user.cpp:69: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:70: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:72: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:74: 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:74: /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/ccSKhbv2.o: In function `main': user.cpp:(.text+0x68d): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms260kbOK!10
20ms252kbOK!10
34ms256kbOK!10
44ms256kbOK!10
54ms252kbOK!10
64ms260kbLungime minima gresita4
74ms268kbLungime minima gresita4
84ms272kbOK!10
94ms296kbOK!10
104ms256kbOK!10
Punctaj total88

Ceva nu functioneaza?