Pagini recente » Borderou de evaluare (job #954870) | Borderou de evaluare (job #1450507) | Borderou de evaluare (job #1295665) | Borderou de evaluare (job #1494508) | Borderou de evaluare (job #1323106)
Borderou de evaluare (job #1323106)
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 ‘int main()’:
user.cpp:136:39: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
Buffer cin("kthvalue.in",1024*1024);
^
user.cpp:151:68: warning: operation on ‘lEN’ may be undefined [-Wsequence-point]
lTrie[++lEN] = lTrie[lEN-1]->Clone(v,1,lim);
^
user.cpp:156:68: warning: operation on ‘rEN’ may be undefined [-Wsequence-point]
rTrie[++rEN] = rTrie[rEN-1]->Clone(v,1,lim);
^
user.cpp:137:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kthvalue.out","w",stdout);
^
user.cpp: In constructor ‘Buffer::Buffer(char*, long int)’:
user.cpp:16: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 |
1 | 304ms | 63884kb | OK | 20 | 100 |
2 | 652ms | 82628kb | OK | 20 |
3 | 2656ms | 158396kb | OK | 20 |
4 | 2740ms | 170540kb | OK | 20 |
5 | 2856ms | 195884kb | OK | 20 |
Punctaj total | 100 |