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 listSep 3, 2022 22:01Franek KortaFranek KortaScore: 4,871Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 3, 2022 22:014,81935,089,46113,365,0002,056,0002,433,024
2Sep 3, 2022 22:014,84034,497,08815,487,00002,433,024
3Sep 3, 2022 22:014,84236,055,10814,462,0001,033,0002,428,928
4Sep 3, 2022 22:014,84336,821,95414,464,0001,033,0002,437,120
5Sep 3, 2022 21:594,84934,611,99214,482,0001,034,0002,437,120
6Sep 3, 2022 21:594,85135,172,39713,454,0002,069,0002,531,328
7Sep 3, 2022 22:014,85230,343,34913,457,0002,070,0002,269,184
8Sep 3, 2022 21:594,85228,903,23015,526,00002,531,328
9Sep 3, 2022 22:014,85240,375,44514,492,0001,035,0002,433,024
10Sep 3, 2022 21:594,85338,589,09815,530,00002,428,928
11Sep 3, 2022 21:594,85438,935,28615,532,00002,531,328
12Sep 3, 2022 21:594,85643,089,33115,538,00002,531,328
13Sep 3, 2022 22:014,85638,515,17115,538,00002,428,928
14Sep 3, 2022 22:014,86331,593,80714,523,0001,037,0002,437,120
15Sep 3, 2022 22:014,86334,493,45614,523,0001,037,0002,531,328
16Sep 3, 2022 22:014,86536,046,00614,531,0001,037,0002,437,120
17Sep 3, 2022 22:014,86631,322,04215,571,00002,269,184
18Sep 3, 2022 22:014,86730,375,03015,574,00002,433,024
19Sep 3, 2022 22:014,87142,240,48714,547,0001,039,0002,416,640
20Sep 3, 2022 21:594,87143,864,96914,548,0001,039,0002,269,184
21Sep 3, 2022 22:014,87237,061,11014,552,0001,039,0002,437,120
22Sep 3, 2022 21:594,87832,061,70515,610,00002,531,328
23Sep 3, 2022 21:594,87937,037,88715,614,00002,428,928
24Sep 3, 2022 22:014,87947,540,61215,614,00002,269,184
25Sep 3, 2022 22:014,88742,745,13315,637,00002,531,328
26Sep 3, 2022 22:014,89044,006,43914,604,0001,043,0002,433,024
27Sep 3, 2022 22:014,90042,157,00913,589,0002,090,0002,424,832
28Sep 3, 2022 22:015,01162,919,88516,035,31402,199,552
29Sep 3, 2022 22:015,02988,644,84116,091,98602,260,992
30Sep 3, 2022 22:015,03077,526,54816,097,07602,199,552
31Sep 3, 2022 22:015,03279,641,74516,103,92802,211,840
32Sep 3, 2022 22:015,04063,055,93316,126,94002,207,744
33Sep 3, 2022 21:595,043102,770,61616,136,92102,199,552
34Sep 3, 2022 21:595,05060,790,21116,159,13102,191,360
35Sep 3, 2022 22:015,06485,724,76316,204,93202,199,552
36Sep 3, 2022 21:595,07375,790,10816,233,28402,199,552