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 listJan 11, 2025 06:26Ian MckibbenIan MckibbenScore: 5,499Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 11, 2025 06:265,46140,955,13816,447,0001,027,0002,289,664
2Jan 11, 2025 06:265,46843,697,62117,499,00002,392,064
3Jan 11, 2025 06:265,47240,588,96016,480,0001,030,0002,527,232
4Jan 11, 2025 06:265,49544,744,88416,549,0001,034,0002,371,584
5Jan 11, 2025 06:265,49949,106,44016,562,0001,035,0002,289,664
6Jan 11, 2025 06:265,50837,022,04216,590,0001,036,0002,273,280
7Jan 11, 2025 06:265,51343,472,58116,605,0001,037,0002,289,664
8Jan 11, 2025 06:265,51737,185,57716,616,0001,038,0002,269,184
9Jan 11, 2025 06:265,53646,778,89616,672,0001,042,0002,289,664