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 26, 2021 20:22Yuriy LyfenkoYuriy LyfenkoScore: 5,334Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 26, 2021 20:225,29047,544,52115,934,000995,0002,265,088
2May 26, 2021 20:225,29142,436,56615,935,000995,0002,265,088
3May 26, 2021 20:225,29541,942,79515,949,000996,0002,387,968
4May 26, 2021 20:225,30848,987,76315,986,000999,0002,265,088
5May 26, 2021 20:225,30835,710,68415,987,000999,0002,265,088
6May 26, 2021 20:225,31244,348,34714,999,0001,999,0002,396,160
7May 26, 2021 20:225,33444,790,69216,064,0001,004,0002,265,088
8May 26, 2021 20:225,34144,415,48916,087,0001,005,0002,396,160
9May 26, 2021 20:225,34838,446,61516,106,0001,006,0002,269,184
10May 26, 2021 20:225,53263,480,68817,702,05502,277,376
11May 26, 2021 20:225,53260,685,18117,701,49902,269,184
12May 26, 2021 20:225,66355,951,80918,121,52002,281,472