Pagini recente » Borderou de evaluare (job #2742243) | Borderou de evaluare (job #2804738) | Borderou de evaluare (job #1893204) | Borderou de evaluare (job #1753942) | Borderou de evaluare (job #1429880)
Borderou de evaluare (job #1429880)
Raport evaluator
Compilare:
user.cpp: In member function ‘bool Buffer::isDigit(char)’:
user.cpp:50:22: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
return c >= '0' & c <= '9';
^
user.cpp: In function ‘int main()’:
user.cpp:133:30: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
Buffer fin("bal.in",1<<20);
^
user.cpp:134:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bal.out","w",stdout);
^
user.cpp: In constructor ‘Buffer::Buffer(char*, long int)’:
user.cpp:18: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:53: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 | 3796kb | OK | 5 | 10 |
2 | 4ms | 3780kb | OK | 5 |
3 | 4ms | 3828kb | OK | 5 | 10 |
4 | 4ms | 3816kb | OK | 5 |
5 | 8ms | 4032kb | OK | 5 | 10 |
6 | 8ms | 4032kb | OK | 5 |
7 | 260ms | 13624kb | OK | 5 | 10 |
8 | 248ms | 14500kb | OK | 5 |
9 | 500ms | 22588kb | OK | 5 | 10 |
10 | 444ms | 22524kb | OK | 5 |
11 | 624ms | 27048kb | OK | 5 | 10 |
12 | 560ms | 27160kb | OK | 5 |
13 | 952ms | 40264kb | OK | 5 | 10 |
14 | 912ms | 42156kb | OK | 5 |
15 | Depăşit | 44780kb | Time limit exceeded. | 0 | 0 |
16 | Depăşit | 46680kb | Time limit exceeded. | 0 |
17 | Depăşit | 49208kb | Time limit exceeded. | 0 | 0 |
18 | 1000ms | 45312kb | OK | 5 |
19 | Depăşit | 49212kb | Time limit exceeded. | 0 | 0 |
20 | Depăşit | 46904kb | Time limit exceeded. | 0 |
Punctaj total | 70 |