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 3, 2023 20:15Hal FHal FScore: 4,827Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 20:154,78432,251,98513,268,0002,041,0002,531,328
2Jan 3, 2023 20:154,78832,397,47614,302,0001,021,0002,289,664
3Jan 3, 2023 20:154,80233,903,57613,318,0002,048,0002,277,376
4Jan 3, 2023 20:154,80538,123,94713,327,0002,050,0002,289,664
5Jan 3, 2023 20:154,80839,222,79815,384,00002,289,664
6Jan 3, 2023 20:154,81243,392,68514,373,0001,026,0002,273,280
7Jan 3, 2023 20:154,82739,483,38715,446,00002,277,376
8Jan 3, 2023 20:154,83033,335,94014,427,0001,030,0002,265,088
9Jan 3, 2023 20:154,84933,547,86914,483,0001,034,0002,273,280
10Jan 3, 2023 20:155,04690,870,19016,146,74602,297,856
11Jan 3, 2023 20:155,05261,210,53116,165,21802,301,952
12Jan 3, 2023 20:155,05284,621,31616,167,39902,252,800