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 3, 2025 20:25HyperbHyperbScore: 2,986,188Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2025 20:252,970,4289,530,770,3549,461,393,00043,978,0002,285,568
2Jun 3, 2025 20:252,985,8799,588,897,8369,522,824,00031,989,0002,277,376
3Jun 3, 2025 20:252,986,0109,584,250,6039,515,249,00039,984,0002,277,376
4Jun 3, 2025 20:252,986,1189,583,970,5579,523,594,00031,985,0002,277,376
5Jun 3, 2025 20:252,986,1889,585,666,7089,529,814,00025,988,0002,285,568
6Jun 3, 2025 20:252,986,3269,581,403,7899,530,253,00025,989,0002,260,992
7Jun 3, 2025 20:252,987,6779,590,477,3979,531,576,00028,989,0002,277,376
8Jun 3, 2025 20:253,003,1139,644,561,5499,580,975,00028,987,0002,265,088
9Jun 3, 2025 20:253,078,9869,882,955,7239,819,772,00032,982,0002,277,376