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 20, 2021 02:49Yuriy LyfenkoYuriy LyfenkoScore: 5,302Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 20, 2021 02:495,25840,048,73214,847,0001,979,0002,396,160
2May 20, 2021 02:495,26836,738,40314,875,0001,983,0002,260,992
3May 20, 2021 02:495,27342,892,63514,888,0001,985,0002,387,968
4May 20, 2021 02:495,27338,801,23314,889,0001,985,0002,387,968
5May 20, 2021 02:495,27333,770,35514,890,0001,985,0002,523,136
6May 20, 2021 02:495,28142,347,08414,911,0001,988,0002,387,968
7May 20, 2021 02:495,29939,825,42714,963,0001,995,0002,523,136
8May 20, 2021 02:495,30241,521,08513,973,0002,994,0002,260,992
9May 20, 2021 02:495,31235,229,03615,999,000999,0002,260,992
10May 20, 2021 02:495,48960,249,45217,564,69002,285,568
11May 20, 2021 02:495,50572,950,51417,616,77102,273,280
12May 20, 2021 02:495,52679,305,35517,683,59602,281,472
13May 20, 2021 02:495,52887,801,31017,688,11102,273,280
14May 20, 2021 02:495,54263,747,25217,734,95402,281,472
15May 20, 2021 02:495,56893,706,22117,817,78402,281,472