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 14:35olliecrowolliecrowScore: 4,347Success
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 14:354,33329,492,32812,874,000990,0002,486,272
2Mar 28, 2026 14:344,33538,967,58813,873,00002,490,368
3Mar 28, 2026 14:354,33829,783,21612,891,000991,0002,281,472
4Mar 28, 2026 14:344,34134,933,60812,900,000992,0002,498,560
5Mar 28, 2026 14:354,34136,473,08912,899,000992,0002,494,464
6Mar 28, 2026 14:354,34339,825,59512,905,000992,0002,281,472
7Mar 28, 2026 14:344,34627,977,99912,915,000993,0002,498,560
8Mar 28, 2026 14:354,34737,444,73412,916,000993,0002,490,368
9Mar 28, 2026 14:354,34830,328,04412,921,000993,0002,502,656
10Mar 28, 2026 14:354,34829,284,80412,920,000993,0002,281,472
11Mar 28, 2026 14:354,34930,494,19612,922,000994,0002,494,464
12Mar 28, 2026 14:354,35234,958,44912,933,000994,0002,281,472
13Mar 28, 2026 14:354,35537,802,32912,940,000995,0002,498,560
14Mar 28, 2026 14:354,35832,287,70812,949,000996,0002,494,464
15Mar 28, 2026 14:354,36129,495,50112,958,000996,0002,277,376