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 24, 2026 15:10Uladzislau NestsiarukUladzislau NestsiarukScore: 5,755Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2026 15:105,72841,091,76717,313,0001,018,0002,367,488
2Apr 24, 2026 15:105,73638,731,48617,338,0001,019,0002,371,584
3Apr 24, 2026 15:105,74139,010,48717,352,0001,020,0002,363,392
4Apr 24, 2026 15:105,74834,608,05017,373,0001,021,0002,306,048
5Apr 24, 2026 15:105,75536,960,37517,393,0001,023,0002,306,048
6Apr 24, 2026 15:105,75536,354,61617,396,0001,023,0002,379,776
7Apr 24, 2026 15:105,78132,085,86417,474,0001,027,0002,375,680
8Apr 24, 2026 15:105,78537,583,60417,486,0001,028,0002,367,488
9Apr 24, 2026 15:105,78535,813,55917,484,0001,028,0002,363,392