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 listJul 8, 2021 15:29Yuriy LyfenkoYuriy LyfenkoScore: 4,551Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2021 15:294,51835,249,39913,424,0001,032,0002,383,872
2Jul 8, 2021 15:294,51939,462,22514,461,00002,392,064
3Jul 8, 2021 15:294,52933,747,65613,459,0001,035,0002,392,064
4Jul 8, 2021 15:294,53531,560,22614,512,00002,383,872
5Jul 8, 2021 15:294,53931,666,63413,488,0001,037,0002,265,088
6Jul 8, 2021 15:294,54835,663,32214,555,00002,265,088
7Jul 8, 2021 15:294,55128,368,64814,562,00002,510,848
8Jul 8, 2021 15:294,55531,543,17414,577,00002,396,160
9Jul 8, 2021 15:294,55736,390,20814,582,00002,392,064
10Jul 8, 2021 15:294,70671,155,05715,057,83002,265,088
11Jul 8, 2021 15:294,70868,054,43415,066,99202,269,184
12Jul 8, 2021 15:294,73575,688,64715,152,50402,273,280