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 23:41джулисджулисScore: 5,579Success
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 23:415,51842,477,22817,656,00002,375,680
2Jun 8, 2024 23:415,52152,210,67016,628,0001,039,0002,293,760
3Jun 8, 2024 23:415,52648,688,40616,644,0001,040,0002,293,760
4Jun 8, 2024 23:415,52733,090,94117,687,00002,371,584
5Jun 8, 2024 23:415,54139,878,83417,730,00002,379,776
6Jun 8, 2024 23:415,54645,655,59217,746,00002,371,584
7Jun 8, 2024 23:415,57955,703,09115,870,0001,983,0002,367,488
8Jun 8, 2024 23:415,58137,120,80316,868,000992,0002,297,856
9Jun 8, 2024 23:415,58743,921,65915,891,0001,986,0002,473,984
10Jun 8, 2024 23:415,75299,997,91318,405,63702,244,608
11Jun 8, 2024 23:415,756105,836,67918,419,29602,228,224
12Jun 8, 2024 23:415,779101,083,92918,492,10702,240,512