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 9, 2024 18:12matsuoka-601matsuoka-601Score: 4,650Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 18:124,60334,484,80013,677,0001,052,0002,404,352
2Jun 9, 2024 18:124,60732,361,88913,689,0001,053,0002,408,448
3Jun 9, 2024 18:124,64637,511,27012,884,0001,982,0002,519,040
4Jun 9, 2024 18:124,64632,407,89514,866,00002,412,544
5Jun 9, 2024 18:124,64630,896,72313,875,000991,0002,285,568
6Jun 9, 2024 18:124,64838,160,79812,889,0001,983,0002,408,448
7Jun 9, 2024 18:124,65040,492,58213,889,000992,0002,404,352
8Jun 9, 2024 18:124,65136,281,63414,882,00002,400,256
9Jun 9, 2024 18:124,65340,099,12513,897,000992,0002,412,544
10Jun 9, 2024 18:124,86687,095,09115,572,25202,310,144
11Jun 9, 2024 18:124,88993,278,09415,643,32002,301,952
12Jun 9, 2024 18:124,92058,653,00815,744,80102,293,760