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 21, 2024 08:32AnSaAnSaScore: 5,276Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 08:325,27140,286,20414,883,0001,984,0002,400,256
2Jan 21, 2024 08:325,27132,867,94915,876,000992,0002,392,064
3Jan 21, 2024 08:325,27237,965,17114,885,0001,984,0002,396,160
4Jan 21, 2024 08:325,27348,803,05515,880,000992,0002,387,968
5Jan 21, 2024 08:325,27342,863,32114,890,0001,985,0002,281,472
6Jan 21, 2024 08:325,27446,953,47614,893,0001,985,0002,281,472
7Jan 21, 2024 08:325,27642,914,44714,896,0001,986,0002,387,968
8Jan 21, 2024 08:325,27842,122,13215,896,000993,0002,510,848
9Jan 21, 2024 08:325,28440,991,95114,920,0001,989,0002,281,472
10Jan 21, 2024 08:325,44986,520,38517,437,60302,285,568
11Jan 21, 2024 08:325,47876,615,10117,530,99202,293,760
12Jan 21, 2024 08:325,49055,848,01717,567,99602,289,664