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:06Ian MckibbenIan MckibbenScore: 5,752Success
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:005,70042,482,97816,213,0002,026,0002,273,280
2Jan 11, 2025 06:065,70343,885,12316,222,0002,027,0002,289,664
3Jan 11, 2025 06:005,73342,797,22016,306,0002,038,0002,289,664
4Jan 11, 2025 06:005,73641,525,22317,337,0001,019,0002,277,376
5Jan 11, 2025 06:005,74140,080,48716,331,0002,041,0002,289,664
6Jan 11, 2025 06:005,74439,210,07716,339,0002,042,0002,289,664
7Jan 11, 2025 06:005,75246,139,51516,361,0002,045,0002,289,664
8Jan 11, 2025 06:005,75740,394,97217,399,0001,023,0002,273,280
9Jan 11, 2025 06:005,76037,383,84517,408,0001,024,0002,289,664
10Jan 11, 2025 06:005,77540,869,52717,455,0001,026,0002,289,664
11Jan 11, 2025 06:065,77739,308,63116,433,0002,054,0002,269,184
12Jan 11, 2025 06:065,79647,256,38017,517,0001,030,0002,289,664