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,288Success
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,26832,957,58716,859,00002,273,280
2Mar 15, 2026 06:035,27340,168,96215,882,000992,0002,273,280
3Mar 15, 2026 06:035,27644,575,94514,898,0001,986,0002,273,280
4Mar 15, 2026 06:035,28437,432,60415,916,000994,0002,396,160
5Mar 15, 2026 06:035,28836,645,72014,932,0001,991,0002,277,376
6Mar 15, 2026 06:035,29240,114,98614,941,0001,992,0002,506,752
7Mar 15, 2026 06:035,32640,934,51115,038,0002,005,0002,273,280
8Mar 15, 2026 06:035,37631,448,12916,192,0001,012,0002,514,944
9Mar 15, 2026 06:035,81045,954,62017,559,0001,032,0002,392,064