Pagini recente » Borderou de evaluare (job #2506427) | Borderou de evaluare (job #2267944) | Borderou de evaluare (job #337565) | Borderou de evaluare (job #1826921) | Borderou de evaluare (job #1474979)
Borderou de evaluare (job #1474979)
Raport evaluator
Compilare:
user.cpp: In member function ‘bool Buffer::isDigit(char)’:
user.cpp:42:22: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
return c >= '0' & c <= '9';
^
user.cpp: In member function ‘void SuffixArray::init(int, int)’:
user.cpp:102:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 1; i < aux.size(); i++) {
^
user.cpp: In function ‘bool Try(int)’:
user.cpp:147:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 1; i < aux.size(); i++){
^
user.cpp: In function ‘int main()’:
user.cpp:172:31: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
Buffer fin("poze.in",1<<20);
^
user.cpp:173:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("poze.out","w",stdout);
^
user.cpp: In constructor ‘Buffer::Buffer(char*, int)’:
user.cpp:22: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:45: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 |
1 | Depăşit | 8124kb | Time limit exceeded. | 0 |
2 | Depăşit | 8124kb | Time limit exceeded. | 0 |
3 | 636ms | 5764kb | OK | 10 |
4 | 420ms | 5340kb | OK | 10 |
5 | 184ms | 4016kb | OK | 10 |
6 | 440ms | 5216kb | OK | 10 |
7 | 176ms | 5512kb | OK | 10 |
8 | 48ms | 2308kb | OK | 10 |
9 | 28ms | 2504kb | OK | 10 |
10 | 4ms | 1840kb | OK | 10 |
Punctaj total | 80 |