Pagini recente » Borderou de evaluare (job #1285843) | Borderou de evaluare (job #1108072) | Borderou de evaluare (job #2813587) | Borderou de evaluare (job #2953965) | Borderou de evaluare (job #1475006)
Borderou de evaluare (job #1475006)
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:111: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:178:31: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
Buffer fin("poze.in",1<<20);
^
user.cpp:179: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 | 9868kb | Time limit exceeded. | 0 |
2 | Depăşit | 9864kb | Time limit exceeded. | 0 |
3 | 836ms | 7236kb | OK | 10 |
4 | 460ms | 6384kb | OK | 10 |
5 | 224ms | 4476kb | OK | 10 |
6 | 592ms | 6160kb | OK | 10 |
7 | 264ms | 6588kb | OK | 10 |
8 | 52ms | 2480kb | OK | 10 |
9 | 28ms | 2440kb | OK | 10 |
10 | 4ms | 1864kb | OK | 10 |
Punctaj total | 80 |