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 30, 2026 20:35Mohamed Elmahdi BendimeradMohamed Elmahdi BendimeradScore: 17,168Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 30, 2026 20:3316,97477,189,91453,312,0001,005,0002,383,872
2Mar 30, 2026 20:3317,02082,996,21353,457,0001,008,0002,387,968
3Mar 30, 2026 20:3317,02578,224,44754,481,00002,510,848
4Mar 30, 2026 20:3317,04776,123,98553,540,0001,010,0002,510,848
5Mar 30, 2026 20:3517,10883,462,07154,745,00002,387,968
6Mar 30, 2026 20:3317,14279,494,17353,856,000997,0002,392,064
7Mar 30, 2026 20:3317,16880,461,78153,940,000998,0002,510,848
8Mar 30, 2026 20:3317,17181,531,81753,949,000999,0002,519,040
9Mar 30, 2026 20:3317,17688,661,76053,964,000999,0002,387,968
10Mar 30, 2026 20:3517,19982,620,10353,036,0002,001,0002,478,080
11Mar 30, 2026 20:3517,20281,155,39052,043,0003,002,0002,482,176
12Mar 30, 2026 20:3317,21383,567,02254,081,0001,001,0002,519,040