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 16, 2021 14:41Yuriy LyfenkoYuriy LyfenkoScore: 6,010Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 14:415,97142,380,16816,091,0003,017,0002,334,720
2May 16, 2021 14:415,97554,771,86217,109,0002,012,0002,326,528
3May 16, 2021 14:415,97845,145,77716,111,0003,020,0002,334,720
4May 16, 2021 14:415,98846,052,33316,137,0003,025,0002,334,720
5May 16, 2021 14:415,99644,278,59617,168,0002,019,0002,334,720
6May 16, 2021 14:416,00941,436,81317,205,0002,024,0002,334,720
7May 16, 2021 14:416,01041,804,59317,207,0002,024,0002,334,720
8May 16, 2021 14:416,03235,370,35417,271,0002,031,0002,334,720
9May 16, 2021 14:416,03492,486,35519,310,25902,228,224
10May 16, 2021 14:416,03844,836,88318,306,0001,017,0002,514,944
11May 16, 2021 14:416,07497,382,32419,437,65002,228,224
12May 16, 2021 14:416,08093,406,30819,454,58502,232,320