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:47джулисджулисScore: 5,780Success
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:475,73339,444,95218,347,00002,371,584
2Jun 9, 2024 19:475,73644,580,06118,354,00002,375,680
3Jun 9, 2024 19:475,74340,566,29018,378,00002,293,760
4Jun 9, 2024 19:475,74840,020,21916,351,0002,043,0002,293,760
5Jun 9, 2024 19:475,75339,646,51817,386,0001,022,0002,367,488
6Jun 9, 2024 19:475,76443,457,59217,420,0001,024,0002,371,584
7Jun 9, 2024 19:475,78034,195,32017,469,0001,027,0002,371,584
8Jun 9, 2024 19:475,79443,799,50118,540,00002,379,776
9Jun 9, 2024 19:475,80643,424,05617,547,0001,032,0002,289,664
10Jun 9, 2024 19:476,00189,315,32919,202,20502,252,800
11Jun 9, 2024 19:476,032102,089,01719,301,62402,269,184
12Jun 9, 2024 19:476,38889,631,77920,443,09002,244,608