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 7, 2026 08:52Uladzislau NestsiarukUladzislau NestsiarukScore: 5,614Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 7, 2026 08:525,58142,039,36516,808,0001,050,0002,265,088
2Apr 7, 2026 08:525,58451,443,70815,885,0001,985,0002,277,376
3Apr 7, 2026 08:525,58539,543,14016,880,000992,0002,277,376
4Apr 7, 2026 08:525,58642,271,80614,896,0002,979,0002,281,472
5Apr 7, 2026 08:525,61440,278,94215,968,0001,996,0002,277,376
6Apr 7, 2026 08:525,61646,441,31015,975,0001,996,0002,277,376
7Apr 7, 2026 08:525,62235,406,97315,991,0001,998,0002,269,184
8Apr 7, 2026 08:525,62844,074,27216,010,0002,001,0002,269,184
9Apr 7, 2026 08:525,64342,345,60816,051,0002,006,0002,351,104