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 4, 2021 23:34evgenikwtevgenikwtScore: 5,328Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 4, 2021 23:345,28637,774,84115,921,000995,0002,265,088
2Jun 4, 2021 23:345,30041,116,24814,966,0001,995,0002,265,088
3Jun 4, 2021 23:345,30245,251,96015,969,000998,0002,379,776
4Jun 4, 2021 23:345,30242,291,89514,971,0001,996,0002,265,088
5Jun 4, 2021 23:345,30832,286,86214,986,0001,998,0002,523,136
6Jun 4, 2021 23:345,32736,779,61515,040,0002,005,0002,265,088
7Jun 4, 2021 23:345,32842,954,81616,047,0001,002,0002,506,752
8Jun 4, 2021 23:345,33045,085,95115,050,0002,006,0002,387,968
9Jun 4, 2021 23:345,33744,635,55316,075,0001,004,0002,371,584
10Jun 4, 2021 23:345,48782,692,20617,559,29402,285,568
11Jun 4, 2021 23:345,50685,575,71217,620,68602,285,568
12Jun 4, 2021 23:345,53384,197,08917,705,98202,269,184