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 03:13evgenikwtevgenikwtScore: 5,296Success
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 03:135,26334,607,49416,843,00002,392,064
2Jun 5, 2021 03:135,27142,927,57116,866,00002,527,232
3Jun 5, 2021 03:135,27143,844,53115,874,000992,0002,387,968
4Jun 5, 2021 03:135,27244,835,64214,886,0001,984,0002,396,160
5Jun 5, 2021 03:135,27350,491,47214,888,0001,985,0002,387,968
6Jun 5, 2021 03:135,27838,377,09314,904,0001,987,0002,387,968
7Jun 5, 2021 03:135,29642,113,22514,953,0001,993,0002,265,088
8Jun 5, 2021 03:135,29645,932,11714,953,0001,993,0002,265,088
9Jun 5, 2021 03:135,29647,261,28315,951,000996,0002,506,752
10Jun 5, 2021 03:135,450117,155,92517,439,70702,289,664
11Jun 5, 2021 03:135,48157,859,28717,539,40502,244,608
12Jun 5, 2021 03:135,49680,660,26317,586,87702,281,472