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 28, 2021 16:31Egor SergeevEgor SergeevScore: 5,257Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 16:315,19146,011,76116,611,00002,502,656
2May 28, 2021 16:315,19244,050,49716,615,00002,490,368
3May 28, 2021 16:315,20344,682,27816,651,00002,494,464
4May 28, 2021 16:315,22036,450,79316,704,00002,498,560
5May 28, 2021 16:315,22933,880,47416,734,00002,277,376
6May 28, 2021 16:315,23044,889,88616,737,00002,494,464
7May 28, 2021 16:315,25735,564,40716,822,00002,498,560
8May 28, 2021 16:315,27240,084,36316,871,00002,277,376
9May 28, 2021 16:315,27636,279,09615,890,000993,0002,277,376
10May 28, 2021 16:315,47459,989,66517,516,14202,260,992
11May 28, 2021 16:315,48347,975,30817,545,09402,240,512
12May 28, 2021 16:315,55573,165,03817,776,09002,240,512