Borderou de evaluare (job #919966)

Utilizator lianaliana tucar liana Data 19 martie 2013 22:34:31
Problema Search Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:12: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp: In function ‘void rezolvare()’: user.cpp:44: warning: array subscript has type ‘char’ user.cpp:45: warning: array subscript has type ‘char’ user.cpp:55: warning: array subscript has type ‘char’ user.cpp:63: warning: array subscript has type ‘char’ user.cpp:65: warning: array subscript has type ‘char’ user.cpp:66: warning: array subscript has type ‘char’ user.cpp:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp: In function ‘int main()’: user.cpp:75: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:76: 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 user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘void citire()’ at user.cpp:16: /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/ccQqIcFx.o: In function `citire()': user.cpp:(.text+0x3f0): warning: the `gets' function is dangerous and should not be used. user.cpp:(.text+0x3c3): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms320kbOK5
24ms380kbOK5
34ms1340kbOK5
44ms2240kbOK5
520ms10960kbOK5
64ms2552kbOK5
792ms43228kbOK5
8104ms42488kbOK5
9664ms58960kbOK5
10812ms59536kbOK5
11792ms59540kbOK5
12552ms47568kbOK5
13592ms50684kbOK5
14656ms53676kbOK5
15192ms16152kbOK5
16548ms19992kbOK5
17460ms34948kbOK5
18644ms60264kbOK5
19800ms59576kbOK5
20572ms59808kbOK5
Punctaj total100

Ceva nu functioneaza?