Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listMay 11, 2021 19:08Andrey TsvetkovAndrey TsvetkovScore: 6,212Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 19:086,11942,635,98217,520,0002,061,0002,330,624
2May 11, 2021 19:086,12337,131,46818,564,0001,031,0002,326,528
3May 11, 2021 19:086,13346,250,07118,594,0001,033,0002,510,848
4May 11, 2021 19:086,13751,830,57917,570,0002,067,0002,514,944
5May 11, 2021 19:086,13850,205,50718,607,0001,033,0002,326,528
6May 11, 2021 19:086,15447,102,97217,620,0002,072,0002,326,528
7May 11, 2021 19:086,19846,884,71316,859,0002,975,0002,523,136
8May 11, 2021 19:086,21247,031,98317,891,0001,987,0002,523,136
9May 11, 2021 19:086,21360,452,39619,881,32202,228,224
10May 11, 2021 19:086,22044,730,70515,923,0003,980,0002,330,624
11May 11, 2021 19:086,23190,426,81119,938,58202,224,128
12May 11, 2021 19:086,26882,109,36020,056,97302,224,128
13May 11, 2021 19:086,31898,158,17720,217,68202,228,224
14May 11, 2021 19:086,35199,695,82520,322,58102,228,224
15May 11, 2021 19:086,43382,084,58520,587,00202,232,320