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:56Yuriy LyfenkoYuriy LyfenkoScore: 5,594Success
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:565,58144,034,97514,884,0002,976,0002,523,136
2May 11, 2021 21:565,58443,270,59516,876,000992,0002,523,136
3May 11, 2021 21:565,58449,081,91416,878,000992,0002,265,088
4May 11, 2021 21:565,58748,296,44615,893,0001,986,0002,396,160
5May 11, 2021 21:565,58848,650,15917,880,00002,396,160
6May 11, 2021 21:565,59448,832,46914,917,0002,983,0002,269,184
7May 11, 2021 21:565,59442,907,10716,906,000994,0002,260,992
8May 11, 2021 21:565,60843,864,68216,949,000997,0002,392,064
9May 11, 2021 21:565,61646,985,56215,975,0001,996,0002,396,160
10May 11, 2021 21:565,71296,218,51518,278,93902,289,664
11May 11, 2021 21:565,72463,080,26418,316,06602,277,376
12May 11, 2021 21:565,77394,230,68818,472,04002,281,472