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 23, 2021 17:57Yuriy LyfenkoYuriy LyfenkoScore: 5,582Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 17:575,48938,154,98916,532,0001,033,0002,527,232
2May 23, 2021 17:575,51943,948,20617,661,00002,396,160
3May 23, 2021 17:575,52143,834,14217,668,00002,396,160
4May 23, 2021 17:575,52743,014,98516,645,0001,040,0002,510,848
5May 23, 2021 17:575,53745,645,85116,675,0001,042,0002,265,088
6May 23, 2021 17:575,57545,191,02915,859,0001,982,0002,265,088
7May 23, 2021 17:575,58245,572,31516,871,000992,0002,265,088
8May 23, 2021 17:575,58644,516,19615,889,0001,986,0002,265,088
9May 23, 2021 17:575,62135,888,62816,988,000999,0002,396,160
10May 23, 2021 17:575,69872,582,97318,232,17402,273,280
11May 23, 2021 17:575,72879,177,18218,328,25002,277,376
12May 23, 2021 17:575,77372,517,27218,475,09602,281,472