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 listAug 3, 2022 20:16deniskolsanovdeniskolsanovScore: 5,977Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2022 20:165,90533,355,53517,848,0001,049,0002,469,888
2Aug 3, 2022 20:165,91344,458,09816,931,0001,991,0002,375,680
3Aug 3, 2022 20:165,92346,414,55517,955,000997,0002,371,584
4Aug 3, 2022 20:165,93340,455,69217,988,000999,0002,375,680
5Aug 3, 2022 20:165,96641,583,41417,083,0002,009,0002,371,584
6Aug 3, 2022 20:165,97344,565,34518,108,0001,006,0002,289,664
7Aug 3, 2022 20:165,97740,611,29618,119,0001,006,0002,371,584
8Aug 3, 2022 20:166,00045,106,26718,191,0001,010,0002,371,584
9Aug 3, 2022 20:166,03636,866,43418,300,0001,016,0002,375,680
10Aug 3, 2022 20:166,14789,103,02919,669,43902,256,896
11Aug 3, 2022 20:166,22484,936,30019,915,81202,236,416
12Aug 3, 2022 20:166,23478,516,58719,948,45602,252,800