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 listJan 19, 2024 08:27AnSaAnSaScore: 5,592Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2024 08:275,58743,352,27815,891,0001,986,0002,371,584
2Jan 19, 2024 08:275,58836,356,49615,895,0001,986,0002,371,584
3Jan 19, 2024 08:275,58941,481,97116,891,000993,0002,363,392
4Jan 19, 2024 08:275,59044,909,31716,894,000993,0002,461,696
5Jan 19, 2024 08:275,59247,597,96115,905,0001,988,0002,363,392
6Jan 19, 2024 08:275,59245,257,25815,905,0001,988,0002,523,136
7Jan 19, 2024 08:275,59238,432,88015,907,0001,988,0002,363,392
8Jan 19, 2024 08:275,60435,213,38615,942,0001,992,0002,367,488
9Jan 19, 2024 08:275,63846,098,73016,039,0002,004,0002,359,296
10Jan 19, 2024 08:275,76978,315,73218,462,23202,293,760
11Jan 19, 2024 08:275,77695,413,02918,481,62102,293,760
12Jan 19, 2024 08:275,83184,130,64718,658,10002,293,760