Pagini recente » Borderou de evaluare (job #369444) | Borderou de evaluare (job #252559) | Borderou de evaluare (job #2393976) | Borderou de evaluare (job #2486847) | Borderou de evaluare (job #1322213)
Borderou de evaluare (job #1322213)
Raport evaluator
Compilare:
user.cpp: In member function ‘bool Buffer::isDigit(char)’:
user.cpp:37:22: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
return c >= '0' & c <= '9';
^
user.cpp: In function ‘long int getNext(long int)’:
user.cpp:96:23: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
return v^((v^(v-1)&v));
^
user.cpp: In function ‘int main()’:
user.cpp:158:39: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
Buffer cin("kthvalue.in",1024*1024);
^
user.cpp:159: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:17: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:40: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 | 48ms | 32464kb | Incorect | 0 | 0 |
2 | 128ms | 33784kb | Incorect | 0 |
3 | 876ms | 44608kb | Incorect | 0 |
4 | 940ms | 47012kb | Incorect | 0 |
5 | 1116ms | 52272kb | Incorect | 0 |
Punctaj total | 0 |