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 8, 2021 20:37evgenikwtevgenikwtScore: 5,277Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2021 20:375,26743,708,43715,864,000991,0002,523,136
2Jun 8, 2021 20:375,27041,204,23714,880,0001,984,0002,265,088
3Jun 8, 2021 20:375,27238,065,10015,877,000992,0002,265,088
4Jun 8, 2021 20:375,27332,879,63715,881,000992,0002,269,184
5Jun 8, 2021 20:375,27434,321,45314,893,0001,985,0002,506,752
6Jun 8, 2021 20:375,27441,209,10115,886,000992,0002,265,088
7Jun 8, 2021 20:375,27743,757,80514,899,0001,986,0002,392,064
8Jun 8, 2021 20:375,28550,612,89415,917,000994,0002,375,680
9Jun 8, 2021 20:375,29540,428,89515,947,000996,0002,506,752
10Jun 8, 2021 20:375,46563,372,71917,487,36902,277,376
11Jun 8, 2021 20:375,47571,601,88017,518,65002,277,376
12Jun 8, 2021 20:375,48174,811,17517,539,47402,289,664