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 listJan 2, 2023 16:40Jack FrigaardJack FrigaardScore: 5,271Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 16:405,19639,875,36615,589,0001,039,0002,527,232
2Jan 2, 2023 16:405,21035,690,36415,630,0001,042,0002,523,136
3Jan 2, 2023 16:405,21441,617,59115,643,0001,042,0002,285,568
4Jan 2, 2023 16:405,22037,016,33215,660,0001,044,0002,285,568
5Jan 2, 2023 16:405,22246,193,97416,709,00002,273,280
6Jan 2, 2023 16:405,27034,170,72914,881,0001,984,0002,371,584
7Jan 2, 2023 16:405,27148,093,59615,874,000992,0002,527,232
8Jan 2, 2023 16:405,27654,616,89715,891,000993,0002,285,568
9Jan 2, 2023 16:405,27933,076,46715,900,000993,0002,269,184
10Jan 2, 2023 16:405,43499,219,38517,388,36902,297,856
11Jan 2, 2023 16:405,45693,043,98217,460,41102,297,856
12Jan 2, 2023 16:405,46577,067,70517,487,31702,306,048