Borderou de evaluare (job #1313219)

Utilizator atatomirTatomir Alex atatomir Data 10 ianuarie 2015 13:51:36
Problema DreptPal Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In member function ‘bool Buffer::isDigit(char)’: user.cpp:36:22: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] return c >= '0' & c <= '9'; ^ user.cpp: In function ‘void Sky(long int)’: user.cpp:75:41: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] if(!cnt || (cnt & st[cnt].first != curr.first)) st[++cnt] = curr; ^ user.cpp: In function ‘int main()’: user.cpp:88:37: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] Buffer cin("dreptpal.in",1048576); ^ user.cpp:89:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dreptpal.out","w",stdout); ^ user.cpp: In constructor ‘Buffer::Buffer(char*, long int)’: user.cpp:15: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); ^ user.cpp: In member function ‘void Buffer::reFill()’: user.cpp:39: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 Punctaj/grupa
10ms1312kbIncorect00
20ms1312kbIncorect00
30ms1576kbIncorect00
40ms1576kbIncorect00
50ms1576kbIncorect00
656ms4480kbIncorect00
760ms3952kbIncorect0
876ms5008kbIncorect0
9104ms5272kbIncorect0
10108ms5272kbIncorect0
Punctaj total0

Ceva nu functioneaza?