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 listJul 20, 2024 10:56Matt StuchlikMatt StuchlikScore: 4,857Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2024 10:564,81435,531,10414,379,0001,027,0002,289,664
2Jul 20, 2024 10:564,81938,674,67214,394,0001,028,0002,289,664
3Jul 20, 2024 10:564,82031,934,52115,423,00002,273,280
4Jul 20, 2024 10:564,82131,858,70714,399,0001,028,0002,273,280
5Jul 20, 2024 10:564,84440,077,20514,467,0001,033,0002,269,184
6Jul 20, 2024 10:564,85240,881,51714,492,0001,035,0002,265,088
7Jul 20, 2024 10:564,85734,863,63214,507,0001,036,0002,289,664
8Jul 20, 2024 10:564,87535,423,02014,561,0001,040,0002,289,664
9Jul 20, 2024 10:564,88148,626,57814,578,0001,041,0002,289,664
10Jul 20, 2024 10:565,12384,941,04616,394,86502,289,664
11Jul 20, 2024 10:565,13177,079,12716,417,82902,297,856
12Jul 20, 2024 10:565,15673,125,62816,497,64202,281,472