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 19, 2022 09:32Kenneth MaplesKenneth MaplesScore: 5,428Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 19, 2022 09:325,39240,239,17414,210,0003,045,0002,260,992
2Sep 19, 2022 09:325,39335,267,81816,242,0001,015,0002,396,160
3Sep 19, 2022 09:325,39734,784,74315,238,0002,031,0002,387,968
4Sep 19, 2022 09:325,39844,136,28616,256,0001,016,0002,519,040
5Sep 19, 2022 09:325,40131,842,87715,251,0002,033,0002,396,160
6Sep 19, 2022 09:325,40737,063,88517,303,00002,519,040
7Sep 19, 2022 09:325,40737,050,63317,302,00002,519,040
8Sep 19, 2022 09:325,40838,430,92514,252,0003,054,0002,396,160
9Sep 19, 2022 09:325,41342,023,17216,303,0001,018,0002,519,040
10Sep 19, 2022 09:325,41441,834,65416,307,0001,019,0002,260,992
11Sep 19, 2022 09:325,41836,373,72215,298,0002,039,0002,396,160
12Sep 19, 2022 09:325,41932,144,83816,321,0001,020,0002,260,992
13Sep 19, 2022 09:325,42843,548,31917,370,00002,519,040
14Sep 19, 2022 09:325,42941,712,17616,351,0001,021,0002,387,968
15Sep 19, 2022 09:325,43038,525,61116,353,0001,022,0002,519,040
16Sep 19, 2022 09:325,43239,582,07916,360,0001,022,0002,506,752
17Sep 19, 2022 09:325,43934,255,92117,405,00002,519,040
18Sep 19, 2022 09:325,44135,665,16817,411,00002,519,040
19Sep 19, 2022 09:325,67371,529,45218,152,57502,281,472
20Sep 19, 2022 09:325,67659,952,67018,162,52602,285,568
21Sep 19, 2022 09:325,68086,826,10818,175,68802,236,416
22Sep 19, 2022 09:325,69562,235,56218,223,68202,281,472
23Sep 19, 2022 09:325,70194,285,54118,244,21302,285,568
24Sep 19, 2022 09:325,72170,720,04118,306,00002,277,376