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 13, 2024 00:53джулисджулисScore: 5,301Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2024 00:535,28346,656,43114,918,0001,989,0002,371,584
2Jun 13, 2024 00:535,29545,851,58615,947,000996,0002,375,680
3Jun 13, 2024 00:535,29747,693,26715,953,000997,0002,371,584
4Jun 13, 2024 00:535,29744,895,53914,956,0001,994,0002,375,680
5Jun 13, 2024 00:535,29832,480,32214,961,0001,994,0002,293,760
6Jun 13, 2024 00:535,29942,360,28114,962,0001,995,0002,482,176
7Jun 13, 2024 00:535,30149,283,41114,969,0001,995,0002,293,760
8Jun 13, 2024 00:535,30439,711,02015,974,000998,0002,375,680
9Jun 13, 2024 00:535,31436,014,70716,005,0001,000,0002,379,776
10Jun 13, 2024 00:535,52085,120,11517,663,58102,240,512
11Jun 13, 2024 00:535,56861,494,17217,817,64102,248,704
12Jun 13, 2024 00:535,59165,067,57217,889,81102,236,416