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 listJul 28, 2024 15:16Liam BuchananLiam BuchananScore: 5,759Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 15:165,72935,700,10517,314,0001,018,0002,289,664
2Jul 28, 2024 15:165,73042,397,70716,298,0002,037,0002,265,088
3Jul 28, 2024 15:165,73541,530,00118,353,00002,289,664
4Jul 28, 2024 15:165,74348,538,39017,357,0001,021,0002,289,664
5Jul 28, 2024 15:165,74445,040,21417,359,0001,021,0002,289,664
6Jul 28, 2024 15:165,74544,907,75517,363,0001,021,0002,289,664
7Jul 28, 2024 15:165,75936,036,21617,406,0001,023,0002,289,664
8Jul 28, 2024 15:165,77734,638,68717,460,0001,027,0002,277,376
9Jul 28, 2024 15:165,79842,101,86018,553,00002,289,664
10Jul 28, 2024 15:165,92396,738,19918,952,64002,297,856
11Jul 28, 2024 15:165,96383,372,93819,080,34102,252,800
12Jul 28, 2024 15:166,03892,438,26019,321,06902,306,048