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:22olliecrowolliecrowScore: 9,707Success
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:239,53352,698,9435,084,00025,421,0002,277,376
2Mar 28, 2026 11:219,55353,455,4104,076,00026,495,0002,367,488
3Mar 28, 2026 11:229,57155,268,7127,146,00023,480,0002,371,584
4Mar 28, 2026 11:239,57154,114,9963,062,00027,564,0002,367,488
5Mar 28, 2026 11:219,67552,782,5974,993,00025,966,0002,359,296
6Mar 28, 2026 11:229,68857,544,7842,000,00029,001,0002,371,584
7Mar 28, 2026 11:229,70359,163,4243,005,00028,046,0002,363,392
8Mar 28, 2026 11:239,70756,871,0336,012,00025,051,0002,375,680
9Mar 28, 2026 11:239,71652,242,3962,005,00029,085,0002,277,376
10Mar 28, 2026 11:239,75557,996,9501,007,00030,210,0002,367,488
11Mar 28, 2026 11:219,76949,297,8607,059,00024,203,0002,355,200
12Mar 28, 2026 11:229,77854,163,4383,028,00028,262,0002,277,376
13Mar 28, 2026 11:229,78254,095,5295,048,00026,253,0002,277,376
14Mar 28, 2026 11:239,89959,356,2383,959,00027,717,0002,363,392
15Mar 28, 2026 11:229,95857,154,2811,991,00029,875,0002,359,296