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 listAug 21, 2022 22:04Franek KortaFranek KortaScore: 4,918Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 21, 2022 22:034,82831,881,57014,421,0001,030,0002,523,136
2Aug 21, 2022 22:034,84342,389,45614,463,0001,033,0002,379,776
3Aug 21, 2022 22:034,84642,339,64513,440,0002,067,0002,392,064
4Aug 21, 2022 22:034,85530,413,71413,464,0002,071,0002,502,656
5Aug 21, 2022 22:034,85937,755,55114,514,0001,036,0002,387,968
6Aug 21, 2022 22:034,86435,222,96114,529,0001,037,0002,502,656
7Aug 21, 2022 22:034,86539,149,98011,417,0004,151,0002,383,872
8Aug 21, 2022 22:034,86632,066,11814,532,0001,038,0002,523,136
9Aug 21, 2022 22:034,87941,684,41314,573,0001,040,0002,523,136
10Aug 21, 2022 22:044,90340,713,66114,644,0001,046,0002,523,136
11Aug 21, 2022 22:044,90344,747,80713,599,0002,092,0002,523,136
12Aug 21, 2022 22:044,91146,057,04214,667,0001,047,0002,371,584
13Aug 21, 2022 22:044,91832,973,32515,736,00002,371,584
14Aug 21, 2022 22:044,96043,547,56013,888,0001,984,0002,523,136
15Aug 21, 2022 22:044,96133,649,85513,891,0001,984,0002,371,584
16Aug 21, 2022 22:044,96141,872,86613,890,0001,984,0002,523,136
17Aug 21, 2022 22:044,96243,143,27613,893,0001,984,0002,383,872
18Aug 21, 2022 22:044,96233,712,31213,893,0001,984,0002,363,392
19Aug 21, 2022 22:045,06568,820,36616,209,19802,273,280
20Aug 21, 2022 22:045,07375,602,39616,233,81102,273,280
21Aug 21, 2022 22:045,08578,642,13216,273,35002,273,280
22Aug 21, 2022 22:035,13592,960,30216,430,82502,281,472
23Aug 21, 2022 22:035,13885,684,59116,440,98702,277,376
24Aug 21, 2022 22:035,15788,709,97016,501,11802,277,376