Borderou de evaluare (job #841722)

Utilizator radustn92Radu Stancu radustn92 Data 24 decembrie 2012 18:26:15
Problema Cstring Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:13: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:14: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result user.cpp:15: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result user.cpp:16: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result user.cpp: In function ‘void solve()’: user.cpp:38: warning: comparison between signed and unsigned integer expressions user.cpp:44: warning: comparison between signed and unsigned integer expressions user.cpp:44: warning: comparison between signed and unsigned integer expressions user.cpp:44: warning: comparison between signed and unsigned integer expressions user.cpp:58: warning: comparison between signed and unsigned integer expressions user.cpp:69: warning: comparison between signed and unsigned integer expressions user.cpp:80: warning: comparison between signed and unsigned integer expressions user.cpp:91: warning: comparison between signed and unsigned integer expressions user.cpp:91: warning: comparison between signed and unsigned integer expressions user.cpp:102: warning: comparison between signed and unsigned integer expressions user.cpp:102: warning: comparison between signed and unsigned integer expressions user.cpp:113: warning: comparison between signed and unsigned integer expressions user.cpp:113: warning: comparison between signed and unsigned integer expressions user.cpp:125: warning: comparison between signed and unsigned integer expressions user.cpp:139: warning: comparison between signed and unsigned integer expressions user.cpp:152: warning: comparison between signed and unsigned integer expressions user.cpp:165: warning: comparison between signed and unsigned integer expressions user.cpp: In function ‘int main()’: user.cpp:183: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:184: 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 /usr/include/c++/4.4/cstdio:45, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘void read()’ at user.cpp:14: /usr/include/bits/stdio2.h:253: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘void read()’ at user.cpp:15: /usr/include/bits/stdio2.h:253: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘void read()’ at user.cpp:16: /usr/include/bits/stdio2.h:253: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer user.cpp: In function ‘void prepare()’: user.cpp:21: warning: ‘type’ may be used uninitialized in this function
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms240kbRaspuns Gresit! Distanta obtinuta=6 Distanta corecta=50
20ms244kbRaspuns Gresit! Distanta obtinuta=15 Distanta corecta=140
30ms240kbRaspuns Gresit! Distanta obtinuta=34 Distanta corecta=320
40ms244kbRaspuns Gresit! Distanta obtinuta=84 Distanta corecta=750
50ms252kbRaspuns Gresit! Distanta obtinuta=309 Distanta corecta=3010
64ms956kbRaspuns Gresit! Distanta obtinuta=23676 Distanta corecta=235070
724ms2988kbRaspuns Gresit! Distanta obtinuta=121778 Distanta corecta=1163330
840ms5648kbRaspuns Gresit! Distanta obtinuta=229010 Distanta corecta=2280070
952ms7508kbRaspuns Gresit! Distanta obtinuta=350012 Distanta corecta=3500090
1064ms8148kbRaspuns Gresit! Distanta obtinuta=263289 Distanta corecta=2599870
Punctaj total0

Ceva nu functioneaza?