Borderou de evaluare (job #2406224)

Utilizator Asgari_ArminArmin Asgari Asgari_Armin Data 15 aprilie 2019 15:20:43
Problema Puteri Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In member function 'bool Buffer::isDigit(char)': main.cpp:34:22: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] return c >= '0' & c <= '9'; ~~^~~~~~ main.cpp: In function 'int main()': main.cpp:94:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Buffer cin("puteri.in",1024*1024); ^ main.cpp: In constructor 'Buffer::Buffer(char*, int)': main.cpp:14:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen(fileName,"r",stdin); ^ main.cpp: In member function 'void Buffer::reFill()': main.cpp:37:43: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&Buff[0],1,maxBuf,stdin); pos = 0; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1300ms9568kbTime limit exceeded0
2271ms9568kbOK10
3292ms9699kbOK10
4283ms9568kbOK10
5284ms9568kbOK10
6300ms9699kbTime limit exceeded0
7300ms10092kbTime limit exceeded0
8303ms10354kbTime limit exceeded0
9303ms10747kbTime limit exceeded0
10303ms10747kbTime limit exceeded0
Punctaj total40

Ceva nu functioneaza?