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 listAug 6, 2024 16:17BenBenScore: 4,528Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 6, 2024 16:174,44443,609,61914,222,00002,498,560
2Aug 6, 2024 16:174,45635,481,23014,258,00002,494,464
3Aug 6, 2024 16:174,46335,431,84814,280,00002,486,272
4Aug 6, 2024 16:174,47831,744,78914,330,00002,277,376
5Aug 6, 2024 16:174,48829,765,45514,361,00002,277,376
6Aug 6, 2024 16:174,50837,396,50614,427,00002,498,560
7Aug 6, 2024 16:174,52837,528,20714,489,00002,277,376
8Aug 6, 2024 16:174,56237,475,04314,598,00002,531,328
9Aug 6, 2024 16:174,56529,833,78814,608,00002,277,376
10Aug 6, 2024 16:174,78671,544,26915,315,66002,260,992
11Aug 6, 2024 16:174,79371,618,37915,336,14602,236,416
12Aug 6, 2024 16:174,97370,963,54815,913,71702,240,512