Pagini recente » Borderou de evaluare (job #700948) | Borderou de evaluare (job #2878520) | Borderou de evaluare (job #2954809) | Borderou de evaluare (job #2593734) | Borderou de evaluare (job #1404501)
Borderou de evaluare (job #1404501)
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:85:35: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
Buffer cin("dk.in",1024*1024*4);
^
user.cpp:86:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dk.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 |
Punctaj/grupa |
| 1 | 4ms | 4480kb | OK | 10 | 10 |
| 2 | 8ms | 4480kb | OK | 10 | 10 |
| 3 | 500ms | 4480kb | OK | 10 | 10 |
| 4 | 208ms | 4480kb | OK | 10 | 10 |
| 5 | 200ms | 4480kb | OK | 10 | 10 |
| 6 | 420ms | 4480kb | OK | 10 | 10 |
| 7 | 864ms | 4480kb | OK | 10 | 30 |
| 8 | 604ms | 4480kb | OK | 10 |
| 9 | 804ms | 4480kb | OK | 10 |
| 10 | Depăşit | 4480kb | Time limit exceeded. | 0 | 0 |
| Punctaj total | 90 |