Pagini recente » Borderou de evaluare (job #831165) | Borderou de evaluare (job #417025) | Borderou de evaluare (job #35019) | Borderou de evaluare (job #2064215) | Borderou de evaluare (job #1475009)
Borderou de evaluare (job #1475009)
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:104: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:171:31: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
Buffer fin("poze.in",1<<20);
^
user.cpp:172: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 | 8120kb | Time limit exceeded. | 0 |
2 | Depăşit | 8116kb | Time limit exceeded. | 0 |
3 | 596ms | 5760kb | OK | 10 |
4 | 416ms | 5336kb | OK | 10 |
5 | 176ms | 4008kb | OK | 10 |
6 | 396ms | 5212kb | OK | 10 |
7 | 164ms | 5508kb | OK | 10 |
8 | 44ms | 2308kb | OK | 10 |
9 | 24ms | 2496kb | OK | 10 |
10 | 8ms | 1840kb | OK | 10 |
Punctaj total | 80 |