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 18:20джулисджулисScore: 5,271Success
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 18:205,20445,715,45915,614,0001,040,0002,371,584
2Jun 13, 2024 18:205,20533,453,86216,656,00002,371,584
3Jun 13, 2024 18:205,21732,492,84916,694,00002,375,680
4Jun 13, 2024 18:205,21942,045,15816,701,00002,293,760
5Jun 13, 2024 18:205,22346,167,01716,715,00002,293,760
6Jun 13, 2024 18:205,26845,069,89216,859,00002,293,760
7Jun 13, 2024 18:205,27144,023,24714,884,0001,984,0002,293,760
8Jun 13, 2024 18:205,27240,622,27914,886,0001,984,0002,367,488
9Jun 13, 2024 18:205,27942,727,76815,900,000993,0002,371,584
10Jun 13, 2024 18:205,46781,773,20117,493,43902,236,416
11Jun 13, 2024 18:205,469101,303,55017,502,00602,240,512
12Jun 13, 2024 18:205,47481,795,11217,515,43902,248,704