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 listJun 3, 2021 16:26Yuriy LyfenkoYuriy LyfenkoScore: 5,152Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 16:265,114738,788,75815,342,0001,022,0002,273,280
2Jun 3, 2021 16:265,118739,474,40315,355,0001,023,0002,281,472
3Jun 3, 2021 16:265,134742,268,20515,404,0001,026,0002,273,280
4Jun 3, 2021 16:265,135738,182,84915,406,0001,027,0002,273,280
5Jun 3, 2021 16:265,139738,634,70413,361,0003,083,0002,273,280
6Jun 3, 2021 16:265,148744,874,88415,444,0001,029,0002,281,472
7Jun 3, 2021 16:265,152741,099,44815,457,0001,030,0002,400,256
8Jun 3, 2021 16:265,153741,693,83315,458,0001,030,0002,281,472
9Jun 3, 2021 16:265,168747,923,35215,506,0001,033,0002,281,472
10Jun 3, 2021 16:265,293772,162,54316,937,91502,285,568
11Jun 3, 2021 16:265,299774,333,97516,958,06902,293,760
12Jun 3, 2021 16:265,326777,377,01917,044,69702,289,664