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 28, 2021 21:39Egor SergeevEgor SergeevScore: 5,213Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 28, 2021 21:395,17430,994,09316,558,00002,269,184
2Jun 28, 2021 21:395,18141,395,19016,578,00002,498,560
3Jun 28, 2021 21:395,18336,692,30316,587,00002,498,560
4Jun 28, 2021 21:395,18337,453,61316,587,00002,494,464
5Jun 28, 2021 21:395,19634,391,32016,628,00002,277,376
6Jun 28, 2021 21:395,19831,372,63816,634,00002,277,376
7Jun 28, 2021 21:395,21334,183,87216,682,00002,277,376
8Jun 28, 2021 21:395,21938,360,61116,701,00002,498,560
9Jun 28, 2021 21:395,22330,293,81616,712,00002,498,560
10Jun 28, 2021 21:395,41775,055,45617,332,80402,260,992
11Jun 28, 2021 21:395,42355,071,49117,355,10602,248,704
12Jun 28, 2021 21:395,450104,391,35717,438,85802,256,896