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 listJul 18, 2024 13:17Matt StuchlikMatt StuchlikScore: 5,579Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 18, 2024 13:175,51233,437,37417,638,00002,289,664
2Jul 18, 2024 13:175,52347,688,49617,675,00002,289,664
3Jul 18, 2024 13:175,52442,687,05816,637,0001,039,0002,273,280
4Jul 18, 2024 13:175,52846,647,10416,648,0001,040,0002,289,664
5Jul 18, 2024 13:175,52843,728,21517,690,00002,387,968
6Jul 18, 2024 13:175,53444,065,39217,709,00002,289,664
7Jul 18, 2024 13:175,57942,197,86115,871,0001,983,0002,359,296
8Jul 18, 2024 13:175,58146,715,09115,874,0001,984,0002,269,184
9Jul 18, 2024 13:175,59545,067,15215,915,0001,989,0002,269,184
10Jul 18, 2024 13:175,742105,617,78318,374,90302,174,976
11Jul 18, 2024 13:175,75587,979,78318,415,61902,179,072
12Jul 18, 2024 13:175,78189,194,06218,499,31102,306,048