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:11Karthik ReddyKarthik ReddyScore: 3,942Success
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:123,93421,572,47512,591,000020,480
2Oct 2, 2026 00:123,93721,596,47812,599,000020,480
3Oct 2, 2026 00:123,93721,674,05112,600,000020,480
4Oct 2, 2026 00:123,94021,646,66112,608,000020,480
5Oct 2, 2026 00:123,94221,548,39212,615,000020,480
6Oct 2, 2026 00:123,94621,539,64012,629,000020,480
7Oct 2, 2026 00:123,95021,669,09412,640,000020,480
8Oct 2, 2026 00:123,96421,634,29012,685,000020,480
9Oct 2, 2026 00:123,97021,658,83712,704,000020,480