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 27, 2021 18:35Yuriy LyfenkoYuriy LyfenkoScore: 5,101Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 18:355,05636,188,82415,167,0001,011,0002,383,872
2May 27, 2021 18:355,05933,590,19514,167,0002,023,0002,396,160
3May 27, 2021 18:355,06842,027,16815,206,0001,013,0002,392,064
4May 27, 2021 18:355,08440,360,04714,235,0002,033,0002,265,088
5May 27, 2021 18:355,09351,115,17816,296,00002,265,088
6May 27, 2021 18:355,09436,488,05714,264,0002,037,0002,265,088
7May 27, 2021 18:355,10133,639,72315,303,0001,020,0002,265,088
8May 27, 2021 18:355,10336,700,31115,311,0001,020,0002,265,088
9May 27, 2021 18:355,11343,549,45115,340,0001,022,0002,265,088
10May 27, 2021 18:355,27487,011,21516,877,27502,281,472
11May 27, 2021 18:355,28348,087,86216,904,47202,281,472
12May 27, 2021 18:355,29871,555,78216,953,39202,273,280