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 listJul 26, 2026 14:47Kevin HeaveyKevin HeaveyScore: 4,301Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 26, 2026 15:004,19321,818,88012,363,0001,056,00020,480
2Jul 26, 2026 15:004,20521,919,44012,347,0001,112,00020,480
3Jul 26, 2026 15:004,20921,870,68612,376,0001,093,00020,480
4Jul 26, 2026 15:004,26422,113,95112,510,0001,137,00020,480
5Jul 26, 2026 15:004,30122,198,59312,560,0001,206,00020,480
6Jul 26, 2026 15:004,38022,425,15312,699,0001,317,00020,480
7Jul 26, 2026 15:004,79224,338,53312,052,0003,284,0002,113,536
8Jul 26, 2026 15:005,14724,884,90212,250,0004,223,0002,113,536
9Jul 26, 2026 15:005,62435,222,41813,286,0004,713,0002,113,536