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 2, 2026 00:30Karthik ReddyKarthik ReddyScore: 3,924Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 2, 2026 00:323,9106,021,745,81512,512,000020,480
2Oct 2, 2026 00:323,9196,021,686,77812,541,000020,480
3Oct 2, 2026 00:323,9226,021,798,71112,551,000020,480
4Oct 2, 2026 00:323,9226,021,723,45712,553,000020,480
5Oct 2, 2026 00:323,9246,021,802,50512,557,000020,480
6Oct 2, 2026 00:323,9286,022,996,25912,570,000020,480
7Oct 2, 2026 00:323,9346,021,834,08512,590,000020,480
8Oct 2, 2026 00:323,9516,021,872,42412,644,000020,480
9Oct 2, 2026 00:323,9546,021,824,86112,654,000020,480