Pagini recente » Borderou de evaluare (job #2074374) | Borderou de evaluare (job #1726993) | Borderou de evaluare (job #2981623) | Borderou de evaluare (job #1119364) | Borderou de evaluare (job #1322170)
Borderou de evaluare (job #1322170)
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:106:23: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
return v^((v^(v-1)&v));
^
user.cpp: In function ‘int main()’:
user.cpp:168:39: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
Buffer cin("kthvalue.in",1024*1024);
^
user.cpp:169: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;
^
user.cpp: In function ‘long int kth(long int, long int, long int)’:
user.cpp:151:34: warning: ‘withOne’ may be used uninitialized in this function [-Wmaybe-uninitialized]
long withZero = onIntr - withOne;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 12ms | 8972kb | Incorect | 0 | 0 |
2 | Depăşit | 10640kb | Time limit exceeded. | 0 |
3 | Depăşit | 17156kb | Time limit exceeded. | 0 |
4 | Depăşit | 25064kb | Time limit exceeded. | 0 |
5 | Depăşit | 40916kb | Time limit exceeded. | 0 |
Punctaj total | 0 |