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 24, 2021 18:49Yuriy LyfenkoYuriy LyfenkoScore: 5,174Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 18:495,12742,563,17015,380,0001,025,0002,265,088
2May 24, 2021 18:495,13534,328,69716,432,00002,400,256
3May 24, 2021 18:495,14240,383,49915,425,0001,028,0002,265,088
4May 24, 2021 18:495,14437,822,96415,434,0001,028,0002,387,968
5May 24, 2021 18:495,16129,884,32315,483,0001,032,0002,392,064
6May 24, 2021 18:495,17037,269,71616,543,00002,527,232
7May 24, 2021 18:495,17436,459,54315,523,0001,034,0002,265,088
8May 24, 2021 18:495,18144,000,95516,580,00002,392,064
9May 24, 2021 18:495,19243,307,40014,659,0001,954,0002,473,984
10May 24, 2021 18:495,35756,680,43417,141,50302,285,568
11May 24, 2021 18:495,36743,990,02617,175,79502,273,280
12May 24, 2021 18:495,37171,269,77417,188,79502,281,472