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 listSep 7, 2022 03:28Yuriy LyfenkoYuriy LyfenkoScore: 4,433Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2022 03:284,408541,299,45113,098,0001,007,0002,396,160
2Sep 7, 2022 03:284,418540,353,64912,118,0002,019,0002,523,136
3Sep 7, 2022 03:284,424540,111,46412,136,0002,022,0002,265,088
4Sep 7, 2022 03:284,428542,488,84813,157,0001,012,0002,523,136
5Sep 7, 2022 03:284,431542,162,96112,155,0002,025,0002,523,136
6Sep 7, 2022 03:284,433536,867,32612,159,0002,026,0002,510,848
7Sep 7, 2022 03:284,433540,744,27913,174,0001,013,0002,523,136
8Sep 7, 2022 03:284,435540,005,47712,164,0002,027,0002,523,136
9Sep 7, 2022 03:284,456538,856,52314,260,00002,523,136
10Sep 7, 2022 03:284,587576,769,53914,678,14602,285,568
11Sep 7, 2022 03:284,605575,697,71814,735,43502,277,376
12Sep 7, 2022 03:284,620582,162,88614,784,54202,240,512