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 13, 2024 18:56Andrey LikhachevAndrey LikhachevScore: 4,668Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2024 18:564,64731,135,80913,880,000991,0002,375,680
2Jun 13, 2024 18:564,65036,353,27913,888,000992,0002,371,584
3Jun 13, 2024 18:564,65339,762,44613,896,000992,0002,289,664
4Jun 13, 2024 18:564,65432,818,90513,901,000992,0002,371,584
5Jun 13, 2024 18:564,65844,979,93412,918,0001,987,0002,478,080
6Jun 13, 2024 18:564,65839,298,45513,913,000993,0002,371,584
7Jun 13, 2024 18:564,66837,185,78813,943,000995,0002,367,488
8Jun 13, 2024 18:564,67237,083,50412,958,0001,993,0002,371,584
9Jun 13, 2024 18:564,67834,309,70612,973,0001,995,0002,289,664
10Jun 13, 2024 18:564,91778,738,24415,734,95502,244,608
11Jun 13, 2024 18:564,92090,911,39615,744,49602,240,512
12Jun 13, 2024 18:564,92191,687,70915,745,75902,240,512