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 listOct 29, 2024 10:55prottyprottyScore: 12,282Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 29, 2024 10:5512,24564,629,5419,042,00030,142,0002,289,664
2Oct 29, 2024 10:5512,25664,120,3624,022,00035,197,0002,269,184
3Oct 29, 2024 10:5512,27666,154,1169,065,00030,219,0002,265,088
4Oct 29, 2024 10:5512,28069,036,34916,122,00023,175,0002,265,088
5Oct 29, 2024 10:5512,28265,313,0657,054,00032,249,0002,265,088
6Oct 29, 2024 10:5512,28666,115,82712,097,00027,218,0002,289,664
7Oct 29, 2024 10:5512,33262,137,5176,071,00033,390,0002,355,200
8Oct 29, 2024 10:5512,33960,421,2086,074,00033,411,0002,367,488
9Oct 29, 2024 10:5512,39874,839,9798,138,00031,537,0002,523,136