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 17:19evgenikwtevgenikwtScore: 5,301Success
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 17:195,25849,524,40414,845,0001,979,0002,387,968
2Jun 5, 2021 17:195,26943,078,47715,871,000991,0002,265,088
3Jun 5, 2021 17:195,27244,754,87116,869,00002,269,184
4Jun 5, 2021 17:195,27545,229,52414,894,0001,985,0002,523,136
5Jun 5, 2021 17:195,28332,420,13615,912,000994,0002,265,088
6Jun 5, 2021 17:195,28534,120,29914,923,0001,989,0002,269,184
7Jun 5, 2021 17:195,30144,979,41014,968,0001,995,0002,265,088
8Jun 5, 2021 17:195,30641,462,74515,980,000998,0002,265,088
9Jun 5, 2021 17:195,36344,911,36315,143,0002,019,0002,392,064
10Jun 5, 2021 17:195,47387,516,37017,512,57802,285,568
11Jun 5, 2021 17:195,48591,532,15817,551,65502,277,376
12Jun 5, 2021 17:195,50791,735,19717,622,34502,277,376