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 12, 2021 07:07Andrei GrazhdankovAndrei GrazhdankovScore: 13,228Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 12, 2021 06:0313,111105,143,49341,954,94502,293,760
2May 12, 2021 07:0713,132104,985,18042,020,97502,289,664
3May 12, 2021 06:0313,135107,701,66042,033,00402,289,664
4May 12, 2021 06:1513,138122,496,06942,040,49402,289,664
5May 12, 2021 06:0213,174104,421,01242,157,36002,297,856
6May 12, 2021 06:1513,223101,634,97042,312,45902,289,664
7May 12, 2021 06:1513,224115,493,10342,317,36802,285,568
8May 12, 2021 06:2113,228104,612,54242,331,07902,293,760
9May 12, 2021 06:2113,23397,826,01942,346,01502,285,568
10May 12, 2021 06:0213,23996,102,69542,363,40102,289,664
11May 12, 2021 07:0713,24494,508,53742,381,44602,301,952
12May 12, 2021 06:0213,277112,150,74342,487,52402,293,760
13May 12, 2021 06:0313,286107,646,33642,515,35402,293,760
14May 12, 2021 07:0713,356106,455,02242,738,67902,297,856
15May 12, 2021 06:2113,468109,556,16843,097,49502,293,760