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 10:26olliecrowolliecrowScore: 4,346Success
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 10:274,33128,648,55011,880,0001,980,0002,486,272
2Mar 28, 2026 10:264,33444,576,40213,870,00002,490,368
3Mar 28, 2026 10:274,34029,543,09812,897,000992,0002,277,376
4Mar 28, 2026 10:264,34138,748,74412,900,000992,0002,277,376
5Mar 28, 2026 10:264,34231,009,11112,901,000992,0002,494,464
6Mar 28, 2026 10:264,34332,627,22412,907,000992,0002,498,560
7Mar 28, 2026 10:264,34530,538,31412,912,000993,0002,490,368
8Mar 28, 2026 10:274,34628,114,08812,915,000993,0002,498,560
9Mar 28, 2026 10:264,34832,882,91812,919,000993,0002,498,560
10Mar 28, 2026 10:274,35230,083,48712,932,000994,0002,498,560
11Mar 28, 2026 10:264,35436,187,66111,943,0001,990,0002,498,560
12Mar 28, 2026 10:264,35431,030,97612,937,000995,0002,277,376
13Mar 28, 2026 10:274,35530,648,32812,942,000995,0002,506,752
14Mar 28, 2026 10:274,36146,388,45112,958,000996,0002,502,656
15Mar 28, 2026 10:264,36934,444,13412,983,000998,0002,277,376