Pagini recente » Borderou de evaluare (job #1603805) | Borderou de evaluare (job #430007) | Borderou de evaluare (job #2973328) | Borderou de evaluare (job #2156098) | Borderou de evaluare (job #1408612)
Borderou de evaluare (job #1408612)
Raport evaluator
Compilare:
user.cpp: In member function ‘bool Buffer::isDigit(char)’:
user.cpp:34:22: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
return c >= '0' & c <= '9';
^
user.cpp: In function ‘int main()’:
user.cpp:68:37: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
Buffer cin("puteri.in",1024*1024);
^
user.cpp:69:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("puteri.out","w",stdout);
^
user.cpp: In constructor ‘Buffer::Buffer(char*, long int)’:
user.cpp:14: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:37: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 | 20ms | 2636kb | OK | 10 |
| 2 | 24ms | 2636kb | OK | 10 |
| 3 | 20ms | 2636kb | OK | 10 |
| 4 | 32ms | 2636kb | OK | 10 |
| 5 | 40ms | 2636kb | OK | 10 |
| 6 | 56ms | 2636kb | OK | 10 |
| 7 | 160ms | 3164kb | OK | 10 |
| 8 | 236ms | 3428kb | OK | 10 |
| 9 | Depăşit | 3692kb | Time limit exceeded. | 0 |
| 10 | 276ms | 3692kb | OK | 10 |
| Punctaj total | 90 |