Pagini recente » Borderou de evaluare (job #486733) | Borderou de evaluare (job #1212027) | Borderou de evaluare (job #2311142) | Borderou de evaluare (job #1678579) | Borderou de evaluare (job #1358787)
Borderou de evaluare (job #1358787)
Raport evaluator
Compilare:
user.cpp: In member function ‘bool Buffer::isDigit(char)’:
user.cpp:33:22: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
return c >= '0' & c <= '9';
^
user.cpp: In function ‘int main()’:
user.cpp:130:40: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
Buffer cin("eliminare.in",1024*1024);
^
user.cpp:131:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("eliminare.out","w",stdout);
^
user.cpp: In constructor ‘Buffer::Buffer(char*, long int)’:
user.cpp:13: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:36: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 | 12ms | 1840kb | OK | 10 |
2 | 20ms | 2104kb | OK | 10 |
3 | 296ms | 7912kb | OK | 10 |
4 | 404ms | 8440kb | OK | 10 |
5 | 804ms | 15040kb | OK | 10 |
6 | 484ms | 15304kb | OK | 10 |
7 | 1064ms | 15568kb | OK | 10 |
8 | 92ms | 27604kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 96ms | 27688kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 96ms | 27792kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 70 |