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 22:02джулисджулисScore: 5,270Success
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 22:025,20349,110,80215,608,0001,040,0002,363,392
2Jun 9, 2024 22:025,20735,743,61416,661,00002,367,488
3Jun 9, 2024 22:025,20742,195,13015,622,0001,041,0002,293,760
4Jun 9, 2024 22:025,21243,322,09915,636,0001,042,0002,498,560
5Jun 9, 2024 22:025,21748,106,89615,651,0001,043,0002,293,760
6Jun 9, 2024 22:025,26233,866,65014,857,0001,981,0002,359,296
7Jun 9, 2024 22:025,27033,978,47215,872,000992,0002,293,760
8Jun 9, 2024 22:025,27139,906,00314,884,0001,984,0002,293,760
9Jun 9, 2024 22:025,27936,459,87014,906,0001,987,0002,375,680
10Jun 9, 2024 22:025,45584,853,91417,454,96702,244,608
11Jun 9, 2024 22:025,64264,899,03418,052,82802,240,512
12Jun 9, 2024 22:025,66579,937,64818,128,15602,248,704