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 listMay 11, 2021 21:29alex3dalex3dScore: 6,584Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 21:276,39882,678,95820,473,71402,293,760
2May 11, 2021 21:276,43388,900,48320,586,95802,170,880
3May 11, 2021 21:276,45682,558,52120,658,84702,293,760
4May 11, 2021 21:286,53484,148,40320,907,62602,174,976
5May 11, 2021 21:296,56574,960,20121,007,22802,289,664
6May 11, 2021 21:416,57780,887,23821,045,04802,293,760
7May 11, 2021 21:416,58479,654,45521,068,27402,297,856
8May 11, 2021 21:286,58591,077,23121,073,27002,174,976
9May 11, 2021 21:296,58987,484,25921,083,47102,297,856
10May 11, 2021 21:416,590101,121,82321,089,55702,293,760
11May 11, 2021 21:286,60484,976,18121,132,57502,293,760
12May 11, 2021 21:296,61272,567,14921,158,51002,170,880