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 5, 2021 01:04evgenikwtevgenikwtScore: 5,383Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2021 01:045,34942,220,76916,110,0001,006,0002,265,088
2Jun 5, 2021 01:045,35237,730,44016,119,0001,007,0002,527,232
3Jun 5, 2021 01:045,36135,577,99015,138,0002,018,0002,392,064
4Jun 5, 2021 01:045,36347,222,06415,144,0002,019,0002,392,064
5Jun 5, 2021 01:045,36945,006,30516,171,0001,010,0002,375,680
6Jun 5, 2021 01:045,37442,315,91816,186,0001,011,0002,387,968
7Jun 5, 2021 01:045,38334,531,70316,212,0001,013,0002,265,088
8Jun 5, 2021 01:045,39540,507,74615,234,0002,031,0002,383,872
9Jun 5, 2021 01:045,39833,244,58215,241,0002,032,0002,396,160
10Jun 5, 2021 01:045,53772,962,12817,719,14502,273,280
11Jun 5, 2021 01:045,54175,513,40817,732,79402,285,568
12Jun 5, 2021 01:045,58164,453,58917,860,12602,273,280