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 21:04Yuriy LyfenkoYuriy LyfenkoScore: 5,684Success
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 21:045,64744,059,73713,051,0005,019,0002,527,232
2May 11, 2021 21:045,64737,726,40516,062,0002,007,0002,265,088
3May 11, 2021 21:045,64940,398,01215,065,0003,013,0002,523,136
4May 11, 2021 21:045,65147,595,95316,075,0002,009,0002,523,136
5May 11, 2021 21:045,65248,143,50716,077,0002,009,0002,392,064
6May 11, 2021 21:045,65749,237,27016,091,0002,011,0002,387,968
7May 11, 2021 21:045,66243,336,29915,098,0003,019,0002,506,752
8May 11, 2021 21:045,66432,101,13117,119,0001,007,0002,396,160
9May 11, 2021 21:045,66743,145,06716,120,0002,015,0002,392,064
10May 11, 2021 21:045,67251,343,73516,134,0002,016,0002,265,088
11May 11, 2021 21:045,67447,046,94517,148,0001,008,0002,506,752
12May 11, 2021 21:045,67547,458,32517,152,0001,008,0002,523,136
13May 11, 2021 21:045,68447,132,99416,168,0002,021,0002,523,136
14May 11, 2021 21:045,68545,926,73117,181,0001,010,0002,260,992
15May 11, 2021 21:045,69547,904,60115,187,0003,037,0002,260,992
16May 11, 2021 21:045,70144,366,70117,231,0001,013,0002,260,992
17May 11, 2021 21:045,70548,146,32617,242,0001,014,0002,260,992
18May 11, 2021 21:045,70743,175,05416,234,0002,029,0002,506,752
19May 11, 2021 21:045,87286,406,60318,791,03502,269,184
20May 11, 2021 21:045,87390,120,42618,794,21702,269,184
21May 11, 2021 21:045,88786,648,04018,838,55102,281,472
22May 11, 2021 21:045,90481,265,63718,892,06902,269,184
23May 11, 2021 21:045,90590,290,28618,895,33602,277,376
24May 11, 2021 21:045,91390,019,04518,921,31802,273,280