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 16, 2023 12:08nikola-kovrizhnynikola-kovrizhnyScore: 2,565,912Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2023 12:082,539,1508,185,291,8998,125,279,55602,256,896
2Jun 16, 2023 12:082,565,9128,281,614,4618,210,919,94102,265,088
3Jun 16, 2023 12:082,653,7348,561,008,4688,491,947,87402,256,896