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 22:02Yuriy LyfenkoYuriy LyfenkoScore: 5,712Success
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 22:025,67449,687,79216,141,0002,017,0002,269,184
2May 11, 2021 22:025,68448,683,47016,168,0002,021,0002,260,992
3May 11, 2021 22:025,69042,774,29317,197,0001,011,0002,392,064
4May 11, 2021 22:025,69742,556,58316,204,0002,025,0002,260,992
5May 11, 2021 22:025,70549,601,65815,214,0003,042,0002,396,160
6May 11, 2021 22:025,71041,635,72116,241,0002,030,0002,265,088
7May 11, 2021 22:025,71241,054,92016,248,0002,031,0002,506,752
8May 11, 2021 22:025,71947,697,56916,268,0002,033,0002,260,992
9May 11, 2021 22:025,72247,636,47418,310,00002,396,160
10May 11, 2021 22:025,85899,886,95718,745,49702,277,376
11May 11, 2021 22:025,91978,181,53918,939,70102,277,376
12May 11, 2021 22:025,93260,228,70118,983,84302,260,992