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 21:20джулисджулисScore: 5,329Success
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 21:205,29544,339,16014,952,0001,993,0002,371,584
2Jun 9, 2024 21:205,29637,263,70914,954,0001,993,0002,379,776
3Jun 9, 2024 21:205,30548,027,54814,978,0001,997,0002,293,760
4Jun 9, 2024 21:205,30738,286,50915,983,000998,0002,293,760
5Jun 9, 2024 21:205,31444,300,34116,005,0001,000,0002,478,080
6Jun 9, 2024 21:205,32537,260,67216,039,0001,002,0002,293,760
7Jun 9, 2024 21:205,32946,857,35315,046,0002,006,0002,293,760
8Jun 9, 2024 21:205,33144,773,02516,055,0001,003,0002,293,760
9Jun 9, 2024 21:205,33735,949,66916,074,0001,004,0002,293,760
10Jun 9, 2024 21:205,59776,274,64717,910,77902,244,608
11Jun 9, 2024 21:205,67486,267,69318,155,89102,252,800
12Jun 9, 2024 21:205,68993,312,60318,204,34402,260,992