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 20, 2026 14:01BenBenScore: 10,893Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 20, 2026 14:0210,81060,525,7793,052,00031,543,0002,371,584
2Apr 20, 2026 14:0210,82058,570,2347,128,00027,497,0002,379,776
3Apr 20, 2026 14:0210,88660,539,0304,976,00029,861,0002,375,680
4Apr 20, 2026 14:0210,89058,156,3853,983,00030,868,0002,379,776
5Apr 20, 2026 14:0210,89366,719,9627,967,00026,891,0002,379,776
6Apr 20, 2026 14:0211,06761,640,9433,035,00032,381,0002,375,680
7Apr 20, 2026 14:0211,14164,550,5098,149,00027,504,0002,375,680
8Apr 20, 2026 14:0211,19560,039,2152,985,00032,840,0002,379,776
9Apr 20, 2026 14:0211,43055,717,08011,176,00025,400,0002,277,376