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 6, 2021 01:34evgenikwtevgenikwtScore: 5,274Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 6, 2021 01:345,25530,313,67114,837,0001,978,0002,265,088
2Jun 6, 2021 01:345,26945,712,40515,807,0001,053,0002,375,680
3Jun 6, 2021 01:345,27249,771,11215,817,0001,054,0002,400,256
4Jun 6, 2021 01:345,27343,632,36115,882,000992,0002,269,184
5Jun 6, 2021 01:345,27437,978,58315,884,000992,0002,265,088
6Jun 6, 2021 01:345,27446,242,58115,885,000992,0002,265,088
7Jun 6, 2021 01:345,27446,702,33815,885,000992,0002,387,968
8Jun 6, 2021 01:345,28236,955,97515,846,0001,056,0002,527,232
9Jun 6, 2021 01:345,28442,167,74515,914,000994,0002,269,184
10Jun 6, 2021 01:345,53383,330,96617,705,62002,277,376
11Jun 6, 2021 01:345,66477,643,01718,125,82602,281,472
12Jun 6, 2021 01:345,73777,795,12618,357,25702,273,280