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 listJul 22, 2022 21:43Robert BurkeRobert BurkeScore: 4,828Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 21:434,78032,208,44913,258,0002,039,0002,424,832
2Jul 22, 2022 21:434,78229,436,54713,261,0002,040,0002,514,944
3Jul 22, 2022 21:434,80033,294,96915,361,00002,273,280
4Jul 22, 2022 21:434,80141,992,48215,362,00002,433,024
5Jul 22, 2022 21:434,80140,239,45215,363,00002,273,280
6Jul 22, 2022 21:434,80339,926,34414,347,0001,024,0002,433,024
7Jul 22, 2022 21:434,82831,380,48314,419,0001,029,0002,433,024
8Jul 22, 2022 21:434,83332,555,00715,464,00002,424,832
9Jul 22, 2022 21:434,85239,708,99715,526,00002,514,944
10Jul 22, 2022 21:434,99078,886,35315,967,55102,183,168
11Jul 22, 2022 21:434,99880,188,53915,995,19602,187,264
12Jul 22, 2022 21:435,01279,946,47116,036,95502,179,072