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 15, 2021 22:03Yuriy LyfenkoYuriy LyfenkoScore: 5,544Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 22:035,42834,913,99116,348,0001,021,0002,392,064
2May 15, 2021 22:035,43634,995,69017,395,00002,523,136
3May 15, 2021 22:035,44234,791,20116,391,0001,024,0002,523,136
4May 15, 2021 22:035,45739,784,53816,434,0001,027,0002,260,992
5May 15, 2021 22:035,46834,391,99417,497,00002,523,136
6May 15, 2021 22:035,47442,180,19017,517,00002,523,136
7May 15, 2021 22:035,54440,988,35516,757,000985,0002,510,848
8May 15, 2021 22:035,58447,031,56514,891,0002,978,0002,383,872
9May 15, 2021 22:035,58741,348,57816,886,000993,0002,396,160
10May 15, 2021 22:035,66782,082,51318,132,93002,277,376
11May 15, 2021 22:035,67481,079,62918,157,65802,273,280
12May 15, 2021 22:035,78789,109,10618,518,43002,269,184