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 14, 2026 02:25Karthik ReddyKarthik ReddyScore: 3,936Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 14, 2026 02:263,9176,021,694,29112,537,000020,480
2Oct 14, 2026 02:263,9266,021,673,97312,564,000020,480
3Oct 14, 2026 02:263,9336,021,942,46612,586,000020,480
4Oct 14, 2026 02:263,9356,021,752,15312,594,000020,480
5Oct 14, 2026 02:263,9366,023,155,71912,597,000020,480
6Oct 14, 2026 02:263,9386,021,817,58412,603,000020,480
7Oct 14, 2026 02:263,9406,021,734,49712,609,000020,480
8Oct 14, 2026 02:263,9406,021,617,83212,609,000020,480
9Oct 14, 2026 02:263,9746,021,874,61012,719,000020,480