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 13:12agarkov-aagarkov-aScore: 2,531,137Success
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 13:122,530,5928,166,879,8378,097,894,75002,248,704
2Jun 16, 2023 13:122,531,1378,161,030,4698,099,639,05702,252,800
3Jun 16, 2023 13:122,532,2588,168,631,1818,103,224,53202,265,088