Borderou de evaluare (job #854300)

Utilizator ericptsStavarache Petru Eric ericpts Data 13 ianuarie 2013 12:02:55
Problema Matrix 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: array subscript has type ‘char’ user.cpp:45: warning: array subscript has type ‘char’ user.cpp:13: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:14: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:25: 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:22: /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/cclX60cH.o: In function `main': user.cpp:(.text+0x81): warning: the `gets' function is dangerous and should not be used. user.cpp:(.text+0xa9): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms272kbOK5
24ms364kbOK5
34ms440kbOK5
44ms548kbOK5
54ms668kbOK5
64ms756kbOK5
74ms860kbOK5
88ms1052kbOK5
98ms1244kbOK5
108ms1304kbOK5
1116ms1892kbOK5
1228ms2476kbOK5
1344ms2960kbOK5
1464ms3544kbOK5
15136ms4824kbOK5
16104ms4536kbOK5
17192ms5896kbOK5
18140ms5440kbOK5
19164ms5608kbOK5
20160ms5600kbOK5
Punctaj total100

Ceva nu functioneaza?