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:26Karthik 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 2, 2026 00:273,9223,021,507,40112,551,000020,480
2Oct 2, 2026 00:273,9323,021,603,83712,585,000020,480
3Oct 2, 2026 00:273,9333,021,646,73512,586,000020,480
4Oct 2, 2026 00:273,9343,021,576,67812,589,000020,480
5Oct 2, 2026 00:273,9363,021,379,40112,597,000020,480
6Oct 2, 2026 00:273,9383,021,652,78412,602,000020,480
7Oct 2, 2026 00:273,9383,023,473,30312,602,000020,480
8Oct 2, 2026 00:273,9393,021,711,85512,607,000020,480
9Oct 2, 2026 00:273,9423,021,776,56012,615,000020,480