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 listOct 9, 2026 00:46Karthik ReddyKarthik ReddyScore: 3,955Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 9, 2026 00:493,9516,021,758,85212,644,000020,480
2Oct 9, 2026 00:493,9536,021,828,19912,651,000020,480
3Oct 9, 2026 00:493,9546,021,843,54712,655,000020,480
4Oct 9, 2026 00:493,9556,021,662,56512,658,000020,480
5Oct 9, 2026 00:493,9556,021,664,73612,656,000020,480
6Oct 9, 2026 00:493,9596,021,771,09112,671,000020,480
7Oct 9, 2026 00:493,9606,021,812,78112,673,000020,480
8Oct 9, 2026 00:493,9616,021,891,35212,676,000020,480
9Oct 9, 2026 00:493,9656,021,767,78512,689,000020,480