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 22, 2024 12:04matsuoka-601matsuoka-601Score: 5,461Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 12:045,40946,016,65517,310,00002,273,280
2Jan 22, 2024 12:045,42336,178,32417,353,00002,293,760
3Jan 22, 2024 12:045,43533,958,12316,368,0001,023,0002,285,568
4Jan 22, 2024 12:045,43935,273,45816,382,0001,023,0002,293,760
5Jan 22, 2024 12:045,44036,734,00917,407,00002,293,760
6Jan 22, 2024 12:045,45735,462,55616,436,0001,027,0002,293,760
7Jan 22, 2024 12:045,46142,732,39916,448,0001,028,0002,293,760
8Jan 22, 2024 12:045,46240,830,46516,449,0001,028,0002,293,760
9Jan 22, 2024 12:045,46537,528,80316,459,0001,028,0002,293,760
10Jan 22, 2024 12:045,61584,416,51217,969,07902,297,856
11Jan 22, 2024 12:045,63484,511,15318,029,85502,301,952
12Jan 22, 2024 12:045,64592,668,50118,063,83702,174,976