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 27, 2022 09:35Simon MaracheSimon MaracheScore: 5,817Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2022 09:355,76638,964,93618,452,00002,371,584
2Jul 27, 2022 09:355,77842,511,10617,462,0001,027,0002,383,872
3Jul 27, 2022 09:355,79641,135,26217,518,0001,030,0002,289,664
4Jul 27, 2022 09:355,79743,319,57617,519,0001,030,0002,375,680
5Jul 27, 2022 09:355,79842,474,82618,553,00002,363,392
6Jul 27, 2022 09:355,80245,098,62417,534,0001,031,0002,289,664
7Jul 27, 2022 09:355,81750,045,79617,579,0001,034,0002,289,664
8Jul 27, 2022 09:355,81849,538,65817,582,0001,034,0002,289,664
9Jul 27, 2022 09:355,82043,947,39617,591,0001,034,0002,371,584
10Jul 27, 2022 09:356,01081,000,49419,231,67602,240,512
11Jul 27, 2022 09:356,010105,950,35419,233,31402,236,416
12Jul 27, 2022 09:356,07288,455,58219,431,94202,252,800