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 listJun 8, 2024 18:55AndreyTSAndreyTSScore: 5,322Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 18:555,29332,451,83315,943,000996,0002,289,664
2Jun 8, 2024 18:555,29440,800,91614,949,0001,993,0002,289,664
3Jun 8, 2024 18:555,30347,282,43414,973,0001,996,0002,289,664
4Jun 8, 2024 18:555,30637,411,23314,982,0001,997,0002,289,664
5Jun 8, 2024 18:555,30738,352,86114,985,0001,998,0002,269,184
6Jun 8, 2024 18:555,31344,555,58915,002,0002,000,0002,265,088
7Jun 8, 2024 18:555,32241,089,73616,028,0001,001,0002,383,872
8Jun 8, 2024 18:555,33032,737,55415,051,0002,006,0002,285,568
9Jun 8, 2024 18:555,33537,268,91315,063,0002,008,0002,285,568
10Jun 8, 2024 18:555,56198,251,00517,796,05902,293,760
11Jun 8, 2024 18:555,58290,588,11417,862,40702,179,072
12Jun 8, 2024 18:555,59789,506,27117,911,98102,179,072