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 listMay 23, 2021 21:34Vladimir KuryakovVladimir KuryakovScore: 5,737Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 21:345,69343,711,51416,193,0002,024,0002,519,040
2May 23, 2021 21:345,70645,862,56817,246,0001,014,0002,519,040
3May 23, 2021 21:345,71341,850,15018,280,00002,392,064
4May 23, 2021 21:345,71441,165,15416,254,0002,031,0002,519,040
5May 23, 2021 21:345,71841,547,83017,283,0001,016,0002,375,680
6May 23, 2021 21:345,73640,586,66516,316,0002,039,0002,392,064
7May 23, 2021 21:345,73737,927,16417,338,0001,019,0002,387,968
8May 23, 2021 21:345,73974,094,43718,364,87802,285,568
9May 23, 2021 21:345,74039,095,97816,328,0002,041,0002,260,992
10May 23, 2021 21:345,76385,996,52618,442,00602,277,376
11May 23, 2021 21:345,76334,373,42418,441,00002,383,872
12May 23, 2021 21:345,83081,413,54118,657,37502,281,472