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 00:09Franek KortaFranek KortaScore: 5,451Success
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 00:095,36034,743,58014,125,0003,026,0002,445,312
2Aug 21, 2022 00:095,37333,666,25016,183,0001,011,0002,269,184
3Aug 21, 2022 00:095,39837,135,18015,242,0002,032,0002,437,120
4Aug 21, 2022 00:095,40039,648,52817,280,00002,531,328
5Aug 21, 2022 00:095,40143,804,01816,267,0001,016,0002,441,216
6Aug 21, 2022 00:095,41635,299,30816,313,0001,019,0002,531,328
7Aug 21, 2022 00:095,42836,181,56016,350,0001,021,0002,441,216
8Aug 21, 2022 00:095,43040,541,91417,375,00002,269,184
9Aug 21, 2022 00:095,43337,589,29917,386,00002,437,120
10Aug 21, 2022 00:095,44436,139,70116,398,0001,024,0002,265,088
11Aug 21, 2022 00:095,44433,582,79116,397,0001,024,0002,445,312
12Aug 21, 2022 00:095,44940,654,74517,436,00002,441,216
13Aug 21, 2022 00:095,45139,207,01417,444,00002,531,328
14Aug 21, 2022 00:095,45439,316,03816,428,0001,026,0002,514,944
15Aug 21, 2022 00:095,46339,622,40517,483,00002,445,312
16Aug 21, 2022 00:095,47231,825,83617,511,00002,531,328
17Aug 21, 2022 00:095,47942,463,24217,533,00002,265,088
18Aug 21, 2022 00:095,48234,202,64517,542,00002,269,184
19Aug 21, 2022 00:095,64260,488,85518,054,38102,203,648
20Aug 21, 2022 00:095,66784,498,23218,135,04302,203,648
21Aug 21, 2022 00:095,67268,416,72618,151,13802,207,744
22Aug 21, 2022 00:095,70771,113,09518,262,77302,199,552
23Aug 21, 2022 00:095,71392,300,99518,282,24702,207,744
24Aug 21, 2022 00:095,73179,801,69318,339,95802,191,360