Borderou de evaluare (job #846724)

Utilizator radustn92Radu Stancu radustn92 Data 2 ianuarie 2013 18:12:13
Problema Texttrim Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result 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 ‘int scanf(const char*, ...)’, 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 ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp: In function ‘void solve()’: user.cpp:26: warning: array subscript has type ‘char’ user.cpp:39: warning: array subscript has type ‘char’ user.cpp:40: warning: array subscript has type ‘char’ user.cpp: In function ‘int main()’: user.cpp:49: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:50: 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: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
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms240kbOK10100
20ms244kbOK10
30ms244kbOK10
40ms240kbOK10
54ms256kbOK10
64ms424kbOK10
78ms1196kbOK10
820ms1212kbOK10
98ms1208kbOK10
108ms1208kbOK10
Punctaj total100

Ceva nu functioneaza?