Pagini recente » Borderou de evaluare (job #413867) | Borderou de evaluare (job #2149963) | Borderou de evaluare (job #879076) | Borderou de evaluare (job #1309892) | Borderou de evaluare (job #1321907)
Borderou de evaluare (job #1321907)
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 ‘long int getNext(long int)’:
user.cpp:69:23: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
return v^((v^(v-1)&v));
^
user.cpp: In function ‘int main()’:
user.cpp:131:39: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
Buffer cin("kthvalue.in",1024*1024);
^
user.cpp:132: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 | 16ms | 12924kb | Incorect | 0 | 0 |
2 | 52ms | 14772kb | Incorect | 0 |
3 | 340ms | 23960kb | Incorect | 0 |
4 | 420ms | 26092kb | Incorect | 0 |
5 | 596ms | 33424kb | Incorect | 0 |
Punctaj total | 0 |