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 listApr 22, 2025 20:34vahookvahookScore: 4,226Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2025 20:304,18936,674,29013,404,00002,490,368
2Apr 22, 2025 20:344,21228,254,35613,479,00002,531,328
3Apr 22, 2025 20:304,21526,963,42913,487,00002,498,560
4Apr 22, 2025 20:304,21628,888,95113,491,00002,273,280
5Apr 22, 2025 20:344,21831,123,01113,498,00002,273,280
6Apr 22, 2025 20:344,22229,257,05413,510,00002,273,280
7Apr 22, 2025 20:344,22427,154,09813,518,00002,273,280
8Apr 22, 2025 20:304,22630,013,87413,523,00002,482,176
9Apr 22, 2025 20:344,22631,249,02813,524,00002,273,280
10Apr 22, 2025 20:344,23133,304,73313,539,00002,273,280
11Apr 22, 2025 20:344,23233,561,10212,502,0001,041,0002,531,328
12Apr 22, 2025 20:304,23728,324,30013,558,00002,531,328
13Apr 22, 2025 20:344,23731,874,41113,558,00002,273,280
14Apr 22, 2025 20:304,23834,552,75313,563,00002,531,328
15Apr 22, 2025 20:344,23829,185,88913,560,00002,494,464