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:42джулисджулисScore: 5,346Success
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:425,32534,603,93715,035,0002,004,0002,293,760
2Jun 9, 2024 21:425,33542,811,91116,069,0001,004,0002,379,776
3Jun 9, 2024 21:425,33743,069,38315,069,0002,009,0002,469,888
4Jun 9, 2024 21:425,33844,433,25715,074,0002,009,0002,293,760
5Jun 9, 2024 21:425,33836,874,77515,074,0002,009,0002,293,760
6Jun 9, 2024 21:425,34546,836,00815,093,0002,012,0002,367,488
7Jun 9, 2024 21:425,34643,650,46516,102,0001,006,0002,367,488
8Jun 9, 2024 21:425,36237,065,61915,140,0002,018,0002,293,760
9Jun 9, 2024 21:425,38438,506,49716,215,0001,013,0002,469,888
10Jun 9, 2024 21:425,57483,710,53317,836,39402,256,896
11Jun 9, 2024 21:425,69871,409,66718,232,96602,248,704
12Jun 9, 2024 21:425,70994,711,82318,268,44002,244,608