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 listMay 11, 2021 20:19Yuriy LyfenkoYuriy LyfenkoScore: 5,586Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 20:195,52940,144,40314,570,0003,122,0002,396,160
2May 11, 2021 20:195,53543,600,55616,671,0001,041,0002,523,136
3May 11, 2021 20:195,53940,792,77316,684,0001,042,0002,387,968
4May 11, 2021 20:195,54447,176,36516,697,0001,043,0002,260,992
5May 11, 2021 20:195,56944,106,57715,840,0001,980,0002,260,992
6May 11, 2021 20:195,57732,714,33816,798,0001,049,0002,260,992
7May 11, 2021 20:195,57843,708,98115,865,0001,983,0002,265,088
8May 11, 2021 20:195,58145,084,43115,875,0001,984,0002,506,752
9May 11, 2021 20:195,58248,446,61216,871,000992,0002,527,232
10May 11, 2021 20:195,58236,892,30215,879,0001,984,0002,523,136
11May 11, 2021 20:195,58345,000,48316,873,000992,0002,396,160
12May 11, 2021 20:195,58430,461,17515,885,0001,985,0002,523,136
13May 11, 2021 20:195,58647,449,22415,888,0001,986,0002,260,992
14May 11, 2021 20:195,58635,816,66717,875,00002,506,752
15May 11, 2021 20:195,58751,505,40616,885,000993,0002,523,136
16May 11, 2021 20:195,58847,010,23316,887,000993,0002,396,160
17May 11, 2021 20:195,58948,131,69515,897,0001,987,0002,396,160
18May 11, 2021 20:195,58941,392,23316,892,000993,0002,523,136
19May 11, 2021 20:195,70270,811,75518,247,67802,273,280
20May 11, 2021 20:195,71774,520,58218,293,99602,273,280
21May 11, 2021 20:195,73264,160,51118,341,54902,277,376
22May 11, 2021 20:195,75577,607,14118,414,62902,277,376
23May 11, 2021 20:195,75975,878,18318,427,92702,285,568
24May 11, 2021 20:195,76290,418,40918,438,22202,281,472