Pagini recente » Borderou de evaluare (job #2989312) | Borderou de evaluare (job #71202) | Borderou de evaluare (job #1423909) | Borderou de evaluare (job #2289909) | Borderou de evaluare (job #1475012)
Borderou de evaluare (job #1475012)
Raport evaluator
Compilare:
user.cpp: In member function ‘bool Buffer::isDigit(char)’:
user.cpp:44: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:112:42: 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:184:31: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
Buffer fin("poze.in",1<<20);
^
user.cpp:185: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:24: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:47: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 | 11312kb | Time limit exceeded. | 0 |
2 | Depăşit | 11312kb | Time limit exceeded. | 0 |
3 | 544ms | 7700kb | OK | 10 |
4 | 372ms | 7052kb | OK | 10 |
5 | 164ms | 4684kb | OK | 10 |
6 | 376ms | 6784kb | OK | 10 |
7 | 156ms | 5504kb | OK | 10 |
8 | 40ms | 2580kb | OK | 10 |
9 | 24ms | 2496kb | OK | 10 |
10 | 8ms | 1840kb | OK | 10 |
Punctaj total | 80 |