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 27, 2024 09:26Joad NacerJoad NacerScore: 4,497Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2024 09:264,46930,368,23913,281,0001,021,0002,433,024
2Jul 27, 2024 09:264,48529,969,44114,353,00002,273,280
3Jul 27, 2024 09:264,48633,180,24614,354,00002,273,280
4Jul 27, 2024 09:264,48628,345,67413,331,0001,025,0002,514,944
5Jul 27, 2024 09:264,48735,123,09414,358,00002,273,280
6Jul 27, 2024 09:264,49146,117,15813,346,0001,026,0002,535,424
7Jul 27, 2024 09:264,49735,535,53913,363,0001,027,0002,424,832
8Jul 27, 2024 09:264,50536,493,92213,386,0001,029,0002,535,424
9Jul 27, 2024 09:264,51238,422,86913,407,0001,031,0002,433,024
10Jul 27, 2024 09:264,70469,178,47415,054,29102,183,168
11Jul 27, 2024 09:264,72681,017,42915,123,89502,191,360
12Jul 27, 2024 09:264,74386,168,77915,178,83102,179,072