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:16Karthik ReddyKarthik ReddyScore: 3,938Success
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:173,92821,531,87812,571,000020,480
2Oct 2, 2026 00:173,93521,603,51312,595,000020,480
3Oct 2, 2026 00:173,93722,959,53012,599,000020,480
4Oct 2, 2026 00:173,93721,584,19412,601,000020,480
5Oct 2, 2026 00:173,93821,495,49112,603,000020,480
6Oct 2, 2026 00:173,94021,640,49212,610,000020,480
7Oct 2, 2026 00:173,94021,723,14112,609,000020,480
8Oct 2, 2026 00:173,94321,653,26512,620,000020,480
9Oct 2, 2026 00:173,99221,829,13712,776,000020,480