Borderou de evaluare (job #865560)

Utilizator cat_red20Vasile Ioana cat_red20 Data 26 ianuarie 2013 17:24:15
Problema Mesaj Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:9: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:13: warning: ignoring return value of ‘int scanf(const char*, ...)’, 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:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp: In function ‘void preproc()’: user.cpp:24: warning: array subscript has type ‘char’ user.cpp:28: warning: array subscript has type ‘char’ user.cpp: In function ‘void afisare()’: user.cpp:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp: In function ‘int main()’: user.cpp:51: warning: array subscript has type ‘char’ user.cpp:54: warning: array subscript has type ‘char’ In file included from /usr/include/stdio.h:910, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘void citire()’ at user.cpp:18: /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/ccJpRGfg.o: In function `citire()': user.cpp:(.text+0x177): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms252kbOK10
20ms252kbOK10
30ms276kbOK10
44ms344kbOK10
58ms544kbOK10
620ms852kbOK10
736ms1260kbOK10
8Depăşit1864kbTime limit exceeded.0
972ms1372kbOK10
10112ms1872kbOK10
Punctaj total90

Ceva nu functioneaza?