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 9, 2024 20:41джулисджулисScore: 5,279Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 20:415,27345,559,70414,889,0001,985,0002,375,680
2Jun 9, 2024 20:415,27338,688,37216,874,00002,371,584
3Jun 9, 2024 20:415,27437,247,54915,885,000992,0002,371,584
4Jun 9, 2024 20:415,27540,014,25216,880,00002,293,760
5Jun 9, 2024 20:415,27746,072,24514,899,0001,986,0002,293,760
6Jun 9, 2024 20:415,27742,578,44314,901,0001,986,0002,293,760
7Jun 9, 2024 20:415,27945,286,76715,901,000993,0002,293,760
8Jun 9, 2024 20:415,28746,964,94215,862,0001,057,0002,293,760
9Jun 9, 2024 20:415,29234,104,65814,942,0001,992,0002,289,664
10Jun 9, 2024 20:415,56186,398,49317,794,15302,248,704
11Jun 9, 2024 20:415,60578,985,22917,936,27102,248,704
12Jun 9, 2024 20:415,64180,127,53618,052,23002,248,704