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 16, 2021 18:31Yuriy LyfenkoYuriy LyfenkoScore: 5,476Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 18:315,417745,739,42114,276,0003,059,0002,519,040
2May 16, 2021 18:315,429727,442,82116,351,0001,021,0002,260,992
3May 16, 2021 18:315,430254,260,30912,549,0004,826,0002,523,136
4May 16, 2021 18:315,440878,767,45116,442,000967,0002,527,232
5May 16, 2021 18:315,441528,432,86614,510,0002,902,0002,523,136
6May 16, 2021 18:315,443909,653,46916,394,0001,024,0002,523,136
7May 16, 2021 18:315,449148,620,75216,470,000968,0002,265,088
8May 16, 2021 18:315,452213,064,61416,476,000969,0002,387,968
9May 16, 2021 18:315,453934,719,50616,480,000969,0002,519,040
10May 16, 2021 18:315,4541,002,480,45716,484,000969,0002,506,752
11May 16, 2021 18:315,460255,103,13815,532,0001,941,0002,523,136
12May 16, 2021 18:315,463147,037,79617,481,00002,396,160
13May 16, 2021 18:315,476518,452,90316,551,000973,0002,519,040
14May 16, 2021 18:315,481536,149,07816,564,000974,0002,523,136
15May 16, 2021 18:315,5101,029,960,47616,596,0001,037,0002,523,136
16May 16, 2021 18:315,523281,358,01815,710,0001,963,0002,523,136
17May 16, 2021 18:315,561738,116,76517,795,00002,523,136
18May 16, 2021 18:315,5701,008,285,81315,844,0001,980,0002,523,136
19May 16, 2021 18:315,641647,640,40318,049,71802,281,472
20May 16, 2021 18:315,648216,376,12118,072,24602,285,568
21May 16, 2021 18:315,668899,955,97718,136,32302,281,472
22May 16, 2021 18:315,674623,791,48618,156,76502,285,568
23May 16, 2021 18:315,679786,234,53118,172,97702,277,376
24May 16, 2021 18:315,693495,186,20018,216,55802,285,568