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 8, 2024 19:22джулисджулисScore: 5,585Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 19:225,52335,500,96317,673,00002,379,776
2Jun 8, 2024 19:225,53933,818,22716,682,0001,042,0002,293,760
3Jun 8, 2024 19:225,54044,794,85017,728,00002,363,392
4Jun 8, 2024 19:225,57743,495,57315,864,0001,983,0002,375,680
5Jun 8, 2024 19:225,58334,544,10817,865,00002,371,584
6Jun 8, 2024 19:225,58333,715,31115,882,0001,985,0002,293,760
7Jun 8, 2024 19:225,58550,010,21215,887,0001,985,0002,293,760
8Jun 8, 2024 19:225,58742,811,34716,885,000993,0002,371,584
9Jun 8, 2024 19:225,59043,814,78416,895,000993,0002,371,584
10Jun 8, 2024 19:225,75776,746,49718,423,88802,240,512
11Jun 8, 2024 19:225,77480,891,74318,475,37202,236,416
12Jun 8, 2024 19:225,80487,175,67018,573,05402,248,704