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 5, 2021 16:54evgenikwtevgenikwtScore: 5,273Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2021 16:545,22943,797,43815,688,0001,045,0002,265,088
2Jun 5, 2021 16:545,26935,063,28015,870,000991,0002,265,088
3Jun 5, 2021 16:545,26947,030,67015,871,000991,0002,265,088
4Jun 5, 2021 16:545,27039,096,82115,872,000992,0002,392,064
5Jun 5, 2021 16:545,27046,707,25515,872,000992,0002,265,088
6Jun 5, 2021 16:545,27242,046,16714,887,0001,984,0002,392,064
7Jun 5, 2021 16:545,27341,663,71415,880,000992,0002,396,160
8Jun 5, 2021 16:545,27333,465,37714,890,0001,985,0002,265,088
9Jun 5, 2021 16:545,28433,103,66214,920,0001,989,0002,383,872
10Jun 5, 2021 16:545,47968,594,47817,531,60402,289,664
11Jun 5, 2021 16:545,49583,980,78317,584,75102,285,568
12Jun 5, 2021 16:545,51084,923,53317,630,83002,277,376