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 4, 2026 11:42DanielDanielScore: 10,493Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 4, 2026 11:4210,44258,527,61933,414,00002,293,760
2Mar 4, 2026 11:4210,44655,958,77132,415,0001,012,0002,293,760
3Mar 4, 2026 11:4210,46255,486,13532,465,0001,014,0002,293,760
4Mar 4, 2026 11:4210,46655,692,86033,492,00002,293,760
5Mar 4, 2026 11:4210,49357,337,46932,562,0001,017,0002,355,200
6Mar 4, 2026 11:4210,49563,092,31132,567,0001,017,0002,293,760
7Mar 4, 2026 11:4210,51166,683,27532,615,0001,019,0002,359,296
8Mar 4, 2026 11:4210,52366,018,90133,675,00002,289,664
9Mar 4, 2026 11:4210,56965,722,98932,827,000994,0002,355,200