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 listJul 30, 2024 03:21BenBenScore: 4,558Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 03:214,53731,512,70714,517,00002,256,896
2Jul 30, 2024 03:214,54231,202,46614,534,00002,265,088
3Jul 30, 2024 03:214,54431,830,35914,540,00002,383,872
4Jul 30, 2024 03:214,54432,026,10514,541,00002,265,088
5Jul 30, 2024 03:214,54635,055,59213,509,0001,039,0002,265,088
6Jul 30, 2024 03:214,55631,918,32114,578,00002,265,088
7Jul 30, 2024 03:214,55833,194,37614,586,00002,527,232
8Jul 30, 2024 03:214,55831,805,71513,545,0001,041,0002,383,872
9Jul 30, 2024 03:214,58045,153,04214,656,00002,265,088
10Jul 30, 2024 03:214,79787,645,03815,349,90102,281,472
11Jul 30, 2024 03:214,82683,914,21515,442,41102,289,664
12Jul 30, 2024 03:214,85492,528,89015,532,85702,293,760