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 listNov 1, 2021 13:10Ilya AniskovetsIlya AniskovetsScore: 5,279Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2021 13:105,23836,736,74615,715,0001,047,0002,265,088
2Nov 1, 2021 11:305,26845,950,26715,867,000991,0002,392,064
3Nov 1, 2021 11:305,27042,081,16414,881,0001,984,0002,396,160
4Nov 1, 2021 13:105,27135,393,02815,874,000992,0002,265,088
5Nov 1, 2021 13:105,27432,727,36114,891,0001,985,0002,265,088
6Nov 1, 2021 13:105,27649,884,49814,897,0001,986,0002,392,064
7Nov 1, 2021 11:305,27641,678,05715,890,000993,0002,392,064
8Nov 1, 2021 13:105,27647,829,06915,891,000993,0002,387,968
9Nov 1, 2021 11:305,27642,490,07914,897,0001,986,0002,265,088
10Nov 1, 2021 11:305,27640,282,69814,897,0001,986,0002,387,968
11Nov 1, 2021 13:105,27743,146,68814,899,0001,986,0002,265,088
12Nov 1, 2021 13:105,27941,795,10815,899,000993,0002,523,136
13Nov 1, 2021 11:305,27947,205,28214,905,0001,987,0002,265,088
14Nov 1, 2021 11:305,28244,104,05016,903,00002,506,752
15Nov 1, 2021 11:305,30135,301,95515,965,000997,0002,392,064
16Nov 1, 2021 13:105,31144,144,33014,996,0001,999,0002,387,968
17Nov 1, 2021 13:105,31141,392,29615,997,000999,0002,387,968
18Nov 1, 2021 11:305,33134,421,26315,052,0002,007,0002,383,872
19Nov 1, 2021 11:305,46478,460,58717,485,35902,285,568
20Nov 1, 2021 11:305,46464,454,83417,484,83802,289,664
21Nov 1, 2021 13:105,47490,344,76817,515,24602,281,472
22Nov 1, 2021 13:105,48185,313,23317,540,20102,277,376
23Nov 1, 2021 13:105,48480,278,02217,549,54102,281,472
24Nov 1, 2021 11:305,49791,463,75417,589,24202,281,472