Borderou de evaluare (job #909408)

Utilizator assa98Andrei Stanciu assa98 Data 10 martie 2013 15:33:25
Problema Puzzle Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 25

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: 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:75: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:76: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp: In function ‘void svap_for_pair(int, int)’: user.cpp:55: warning: ‘pozb’ may be used uninitialized in this function user.cpp:55: warning: ‘poza’ may be used uninitialized in this function 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:75: /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 In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:76: /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/ccySWp8m.o: In function `main': user.cpp:(.text+0x2d5): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms244kbNu s-a ajuns la cuvantul corect0
20ms240kbOK!5
30ms240kbNu s-a ajuns la cuvantul corect0
40ms244kbNu s-a ajuns la cuvantul corect0
50ms240kbNu s-a ajuns la cuvantul corect0
60ms240kbNu s-a ajuns la cuvantul corect0
74ms244kbOK!5
84ms240kbNu s-a ajuns la cuvantul corect0
98ms244kbNu s-a ajuns la cuvantul corect0
104ms240kbNu s-a ajuns la cuvantul corect0
110ms240kbNu s-a ajuns la cuvantul corect0
120ms244kbOK!5
130ms244kbOK!5
144ms240kbNu s-a ajuns la cuvantul corect0
154ms240kbNu s-a ajuns la cuvantul corect0
164ms240kbNu s-a ajuns la cuvantul corect0
178ms240kbNu s-a ajuns la cuvantul corect0
180ms240kbNu s-a ajuns la cuvantul corect0
198ms240kbNu s-a ajuns la cuvantul corect0
200ms240kbOK!5
Punctaj total25

Ceva nu functioneaza?