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 19:15джулисджулисScore: 5,327Success
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 19:155,29742,808,15715,954,000997,0002,293,760
2Jun 9, 2024 19:155,30342,497,39614,974,0001,996,0002,293,760
3Jun 9, 2024 19:155,30934,711,89415,990,000999,0002,375,680
4Jun 9, 2024 19:155,31432,132,59116,005,0001,000,0002,293,760
5Jun 9, 2024 19:155,32242,261,44116,029,0001,001,0002,293,760
6Jun 9, 2024 19:155,32243,688,24515,028,0002,003,0002,293,760
7Jun 9, 2024 19:155,32750,382,65215,041,0002,005,0002,371,584
8Jun 9, 2024 19:155,32844,491,02916,047,0001,002,0002,375,680
9Jun 9, 2024 19:155,33047,842,84115,049,0002,006,0002,367,488
10Jun 9, 2024 19:155,55579,779,43117,774,72402,252,800
11Jun 9, 2024 19:155,59274,265,40217,893,41802,244,608
12Jun 9, 2024 19:155,68191,219,66918,178,24002,244,608