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 21:43джулисджулисScore: 5,424Success
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 21:435,38631,888,04415,207,0002,027,0002,293,760
2Jun 9, 2024 21:435,39742,047,12416,254,0001,015,0002,293,760
3Jun 9, 2024 21:435,41042,688,48716,294,0001,018,0002,293,760
4Jun 9, 2024 21:435,41139,160,73716,296,0001,018,0002,375,680
5Jun 9, 2024 21:435,41933,973,33717,341,00002,371,584
6Jun 9, 2024 21:435,42245,787,86617,349,00002,293,760
7Jun 9, 2024 21:435,42444,990,98615,316,0002,042,0002,371,584
8Jun 9, 2024 21:435,43340,316,63317,385,00002,293,760
9Jun 9, 2024 21:435,43839,895,08517,400,00002,293,760
10Jun 9, 2024 21:435,65291,749,27418,087,72702,256,896
11Jun 9, 2024 21:435,68583,154,35518,192,96502,248,704
12Jun 9, 2024 21:435,68993,753,83718,205,59602,256,896