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 16, 2026 12:12limanjun99limanjun99Score: 4,651Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 16, 2026 12:074,64439,380,27312,880,0001,981,0002,273,280
2Mar 16, 2026 12:074,64531,373,03213,873,000990,0002,514,944
3Mar 16, 2026 12:074,64634,694,64713,875,000991,0002,506,752
4Mar 16, 2026 12:074,64631,661,47012,886,0001,982,0002,273,280
5Mar 16, 2026 12:074,64846,008,23612,890,0001,983,0002,273,280
6Mar 16, 2026 12:074,64833,340,81212,892,0001,983,0002,273,280
7Mar 16, 2026 12:074,64938,732,31312,895,0001,983,0002,396,160
8Mar 16, 2026 12:074,65130,806,23412,898,0001,984,0002,400,256
9Mar 16, 2026 12:074,66030,305,22612,923,0001,988,0002,273,280
10Mar 16, 2026 12:124,83138,607,76713,397,0002,061,0002,289,664
11Mar 16, 2026 12:124,83835,395,17214,448,0001,032,0002,289,664
12Mar 16, 2026 12:124,84234,379,25714,461,0001,032,0002,269,184
13Mar 16, 2026 12:124,84831,494,92414,480,0001,034,0002,281,472
14Mar 16, 2026 12:124,86038,374,69114,517,0001,036,0002,383,872
15Mar 16, 2026 12:124,86938,690,44314,542,0001,038,0002,277,376