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 listMar 28, 2026 11:29olliecrowolliecrowScore: 4,345Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 28, 2026 11:304,33438,986,70112,880,000990,0002,490,368
2Mar 28, 2026 11:304,33528,602,62512,882,000990,0002,502,656
3Mar 28, 2026 11:294,33628,458,97612,883,000991,0002,494,464
4Mar 28, 2026 11:304,33740,114,36613,879,00002,277,376
5Mar 28, 2026 11:304,33827,149,93712,891,000991,0002,490,368
6Mar 28, 2026 11:294,34433,907,89813,901,00002,506,752
7Mar 28, 2026 11:304,34436,989,25312,909,000993,0002,277,376
8Mar 28, 2026 11:304,34531,085,58613,903,00002,490,368
9Mar 28, 2026 11:294,34927,225,08712,924,000994,0002,498,560
10Mar 28, 2026 11:304,35135,616,21112,929,000994,0002,277,376
11Mar 28, 2026 11:304,35237,099,48313,926,00002,494,464
12Mar 28, 2026 11:294,35427,758,02112,939,000995,0002,277,376
13Mar 28, 2026 11:304,36828,493,25912,978,000998,0002,494,464
14Mar 28, 2026 11:294,37131,787,89312,987,000999,0002,490,368
15Mar 28, 2026 11:294,37828,532,64813,008,0001,000,0002,277,376