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 listApr 21, 2026 17:29BenBenScore: 10,864Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 21, 2026 17:2910,76547,909,3775,066,00029,384,0002,392,064
2Apr 21, 2026 17:2910,79051,089,3466,093,00028,436,0002,396,160
3Apr 21, 2026 17:2910,83757,761,5748,160,00026,520,0002,383,872
4Apr 21, 2026 17:2910,86358,525,7225,959,00028,805,0002,392,064
5Apr 21, 2026 17:2910,86454,300,9694,966,00029,801,0002,383,872
6Apr 21, 2026 17:2910,90253,347,4096,977,00027,911,0002,379,776
7Apr 21, 2026 17:2910,94153,089,5746,002,00029,011,0002,387,968
8Apr 21, 2026 17:2910,99050,563,5651,004,00034,167,0002,396,160
9Apr 21, 2026 17:2911,05654,269,1716,065,00029,317,0002,379,776