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 8, 2024 20:59AndreyTSAndreyTSScore: 5,582Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 20:595,50944,748,55616,593,0001,037,0002,289,664
2Jun 8, 2024 20:595,52246,068,96116,631,0001,039,0002,289,664
3Jun 8, 2024 20:595,52247,783,82016,632,0001,039,0002,265,088
4Jun 8, 2024 20:595,53235,325,43516,662,0001,041,0002,289,664
5Jun 8, 2024 20:595,53237,983,94616,662,0001,041,0002,269,184
6Jun 8, 2024 20:595,53850,719,52016,678,0001,042,0002,289,664
7Jun 8, 2024 20:595,58248,027,64316,871,000992,0002,289,664
8Jun 8, 2024 20:595,58350,489,53115,880,0001,985,0002,527,232
9Jun 8, 2024 20:595,59348,283,22517,899,00002,531,328
10Jun 8, 2024 20:595,75484,043,09518,412,57602,252,800
11Jun 8, 2024 20:595,78974,577,48918,523,82602,174,976
12Jun 8, 2024 20:595,820104,352,88818,623,46102,301,952