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 listJun 5, 2021 04:57evgenikwtevgenikwtScore: 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
1Jun 5, 2021 04:575,26642,643,29114,868,0001,982,0002,392,064
2Jun 5, 2021 04:575,27235,015,06916,870,00002,383,872
3Jun 5, 2021 04:575,27433,542,05814,892,0001,985,0002,396,160
4Jun 5, 2021 04:575,27442,529,83014,893,0001,985,0002,265,088
5Jun 5, 2021 04:575,27544,663,37515,887,000992,0002,400,256
6Jun 5, 2021 04:575,27543,956,15714,895,0001,986,0002,392,064
7Jun 5, 2021 04:575,27938,235,94714,905,0001,987,0002,265,088
8Jun 5, 2021 04:575,28344,062,55916,904,00002,265,088
9Jun 5, 2021 04:575,29047,141,28314,937,0001,991,0002,265,088
10Jun 5, 2021 04:575,45675,083,04517,458,15202,281,472
11Jun 5, 2021 04:575,47376,455,51417,512,27402,285,568
12Jun 5, 2021 04:575,48881,951,42617,562,09802,277,376