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 22, 2024 11:21matsuoka-601matsuoka-601Score: 5,498Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 11:215,45333,265,70316,423,0001,026,0002,293,760
2Jan 22, 2024 11:215,47040,821,48116,474,0001,029,0002,293,760
3Jan 22, 2024 11:215,47139,222,24116,478,0001,029,0002,375,680
4Jan 22, 2024 11:215,47834,375,13216,497,0001,031,0002,293,760
5Jan 22, 2024 11:215,49544,729,73616,549,0001,034,0002,293,760
6Jan 22, 2024 11:215,49734,539,15616,555,0001,034,0002,293,760
7Jan 22, 2024 11:215,49846,366,93616,558,0001,034,0002,293,760
8Jan 22, 2024 11:215,49937,090,24516,563,0001,035,0002,273,280
9Jan 22, 2024 11:215,50140,596,67716,568,0001,035,0002,293,760
10Jan 22, 2024 11:215,62062,335,33517,984,49402,183,168
11Jan 22, 2024 11:215,62977,509,72418,012,32302,306,048
12Jan 22, 2024 11:215,65095,251,62318,078,59902,301,952