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 listJan 26, 2026 13:39Ryan Chung Yi ShengRyan Chung Yi ShengScore: 5,142Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 26, 2026 13:395,12936,397,57415,388,0001,025,0002,387,968
2Jan 26, 2026 13:395,13635,220,37216,435,00002,392,064
3Jan 26, 2026 13:395,13635,608,85116,435,00002,371,584
4Jan 26, 2026 13:395,13942,908,75915,418,0001,027,0002,523,136
5Jan 26, 2026 13:395,14232,404,81815,426,0001,028,0002,265,088
6Jan 26, 2026 13:395,15032,675,54116,480,00002,260,992
7Jan 26, 2026 13:395,17437,251,39415,522,0001,034,0002,387,968
8Jan 26, 2026 13:395,17443,253,02116,558,00002,265,088
9Jan 26, 2026 13:395,18232,724,91016,583,00002,502,656