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 listFeb 22, 2024 12:29Huy Duc LeHuy Duc LeScore: 5,492Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 12:295,47044,608,14216,475,0001,029,0002,293,760
2Feb 22, 2024 12:295,47437,501,22716,487,0001,030,0002,293,760
3Feb 22, 2024 12:295,47540,347,00716,490,0001,030,0002,527,232
4Feb 22, 2024 12:295,47739,401,46817,525,00002,293,760
5Feb 22, 2024 12:295,47940,372,34716,501,0001,031,0002,293,760
6Feb 22, 2024 12:295,48045,571,14916,506,0001,031,0002,293,760
7Feb 22, 2024 12:295,49243,408,11916,541,0001,033,0002,277,376
8Feb 22, 2024 12:295,51846,627,62616,621,0001,038,0002,293,760
9Feb 22, 2024 12:295,52150,243,42016,629,0001,039,0002,273,280
10Feb 22, 2024 12:295,68392,527,51918,187,02202,179,072
11Feb 22, 2024 12:295,69280,067,56118,213,80302,297,856
12Feb 22, 2024 12:295,69489,722,00718,220,79702,179,072