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 listJul 6, 2021 00:27Yuriy LyfenkoYuriy LyfenkoScore: 5,047Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2021 00:275,0091,042,593,69414,026,0002,003,0002,523,136
2Jul 6, 2021 00:275,0141,044,512,85815,042,0001,002,0002,523,136
3Jul 6, 2021 00:275,0191,039,132,39614,055,0002,007,0002,260,992
4Jul 6, 2021 00:275,0261,038,828,99915,078,0001,005,0002,523,136
5Jul 6, 2021 00:275,0271,043,122,20515,082,0001,005,0002,506,752
6Jul 6, 2021 00:275,0411,044,064,08014,116,0002,016,0002,523,136
7Jul 6, 2021 00:275,0471,040,743,23814,131,0002,018,0002,523,136
8Jul 6, 2021 00:275,0491,042,943,26714,139,0002,019,0002,523,136
9Jul 6, 2021 00:275,0661,043,322,20015,199,0001,013,0002,523,136
10Jul 6, 2021 00:275,1701,081,626,64116,543,02202,240,512
11Jul 6, 2021 00:275,1861,073,170,92316,595,65902,244,608
12Jul 6, 2021 00:275,2101,076,835,04216,673,18402,240,512