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 listNov 5, 2024 23:11Evgen BodunovEvgen BodunovScore: 5,584Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 5, 2024 23:115,52943,019,11916,654,0001,040,0002,265,088
2Nov 5, 2024 23:115,58448,838,44416,878,000992,0002,289,664
3Nov 5, 2024 23:115,59047,784,96516,895,000993,0002,289,664