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 15, 2026 06:03limanjun99limanjun99Score: 5,287Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 15, 2026 06:035,27138,089,86815,875,000992,0002,396,160
2Mar 15, 2026 06:035,27440,652,20715,885,000992,0002,273,280
3Mar 15, 2026 06:035,28241,492,15515,907,000994,0002,273,280
4Mar 15, 2026 06:035,28246,675,74614,915,0001,988,0002,273,280
5Mar 15, 2026 06:035,28741,626,61714,929,0001,990,0002,400,256
6Mar 15, 2026 06:035,29043,927,49214,936,0001,991,0002,273,280
7Mar 15, 2026 06:035,29439,916,87014,948,0001,993,0002,404,352
8Mar 15, 2026 06:035,29835,449,78214,961,0001,994,0002,273,280
9Mar 15, 2026 06:035,30439,384,22615,975,000998,0002,273,280