Borderou de evaluare (job #841737)

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

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:60: warning: comparison between signed and unsigned integer expressions user.cpp:60: warning: comparison between signed and unsigned integer expressions user.cpp:71: warning: comparison between signed and unsigned integer expressions user.cpp:71: warning: comparison between signed and unsigned integer expressions user.cpp:82: warning: comparison between signed and unsigned integer expressions user.cpp:82: warning: comparison between signed and unsigned integer expressions user.cpp:93: warning: comparison between signed and unsigned integer expressions user.cpp:104: warning: comparison between signed and unsigned integer expressions user.cpp:115: warning: comparison between signed and unsigned integer expressions user.cpp:127: warning: comparison between signed and unsigned integer expressions user.cpp:141: warning: comparison between signed and unsigned integer expressions user.cpp:154: warning: comparison between signed and unsigned integer expressions user.cpp:167: warning: comparison between signed and unsigned integer expressions user.cpp: In function ‘int main()’: user.cpp:196: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:197: 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
10ms240kbOK!10
20ms240kbRaspuns Gresit! Distanta obtinuta=16 Distanta corecta=140
30ms240kbRaspuns Gresit! Distanta obtinuta=34 Distanta corecta=320
40ms244kbRaspuns Gresit! Distanta obtinuta=84 Distanta corecta=750
50ms248kbRaspuns Gresit! Distanta obtinuta=309 Distanta corecta=3010
64ms944kbRaspuns Gresit! Distanta obtinuta=23676 Distanta corecta=235070
724ms2988kbRaspuns Gresit! Distanta obtinuta=121778 Distanta corecta=1163330
840ms5640kbRaspuns Gresit! Distanta obtinuta=229010 Distanta corecta=2280070
952ms7512kbRaspuns Gresit! Distanta obtinuta=350012 Distanta corecta=3500090
1064ms8144kbRaspuns Gresit! Distanta obtinuta=263289 Distanta corecta=2599870
Punctaj total10

Ceva nu functioneaza?