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 21, 2021 18:52Dmitry DolgopolovDmitry DolgopolovScore: 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
1May 21, 2021 18:525,26341,932,34814,859,0001,981,0002,465,792
2May 21, 2021 18:525,26840,727,13515,868,000991,0002,265,088
3May 21, 2021 18:525,26944,205,04015,871,000991,0002,510,848
4May 21, 2021 18:525,27133,871,98514,882,0001,984,0002,265,088
5May 21, 2021 18:525,27146,266,69516,867,00002,502,656
6May 21, 2021 18:525,27246,008,08315,878,000992,0002,265,088
7May 21, 2021 18:525,27334,701,56615,882,000992,0002,265,088
8May 21, 2021 18:525,27339,706,49515,882,000992,0002,400,256
9May 21, 2021 18:525,27436,471,38114,891,0001,985,0002,383,872
10May 21, 2021 18:525,48485,383,92117,547,91002,273,280
11May 21, 2021 18:525,49970,019,56717,595,48002,260,992
12May 21, 2021 18:525,49988,509,47817,598,34302,277,376
13May 21, 2021 18:525,51373,997,04417,640,37102,273,280
14May 21, 2021 18:525,53387,670,43817,705,70302,285,568
15May 21, 2021 18:525,55078,189,15217,761,04102,281,472