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 30, 2024 11:51AnSaAnSaScore: 5,331Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 11:515,29839,271,44114,961,0001,994,0002,531,328
2Jun 30, 2024 11:515,31038,718,37315,993,000999,0002,269,184
3Jun 30, 2024 11:515,32339,487,59116,031,0001,001,0002,531,328
4Jun 30, 2024 11:515,32337,999,83014,028,0003,006,0002,502,656
5Jun 30, 2024 11:515,32544,553,34716,039,0001,002,0002,506,752
6Jun 30, 2024 11:515,32845,114,41716,047,0001,002,0002,502,656
7Jun 30, 2024 11:515,33135,007,59414,049,0003,010,0002,502,656
8Jun 30, 2024 11:515,36140,950,41716,145,0001,009,0002,502,656
9Jun 30, 2024 11:515,36831,868,08916,167,0001,010,0002,531,328
10Jun 30, 2024 11:515,60359,754,82717,929,80102,244,608
11Jun 30, 2024 11:515,62379,461,84217,994,82002,252,800
12Jun 30, 2024 11:515,64989,582,27418,078,38402,248,704