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:42Kenneth MaplesKenneth MaplesScore: 5,420Success
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:395,39633,229,01115,236,0002,031,0002,387,968
2Sep 19, 2022 09:425,39838,115,23517,274,00002,523,136
3Sep 19, 2022 09:395,40340,804,88217,290,00002,396,160
4Sep 19, 2022 09:395,40538,277,11215,261,0002,034,0002,260,992
5Sep 19, 2022 09:425,40940,850,32417,308,00002,519,040
6Sep 19, 2022 09:425,41334,275,49716,302,0001,018,0002,519,040
7Sep 19, 2022 09:395,41441,628,99217,326,00002,383,872
8Sep 19, 2022 09:425,41642,776,00016,312,0001,019,0002,519,040
9Sep 19, 2022 09:395,41733,945,72416,314,0001,019,0002,519,040
10Sep 19, 2022 09:395,41841,248,34515,298,0002,039,0002,510,848
11Sep 19, 2022 09:425,41945,867,29215,302,0002,040,0002,260,992
12Sep 19, 2022 09:395,41938,301,36015,300,0002,040,0002,523,136
13Sep 19, 2022 09:425,42039,214,64313,264,0004,081,0002,265,088
14Sep 19, 2022 09:425,42138,843,17616,328,0001,020,0002,387,968
15Sep 19, 2022 09:425,43039,112,46617,377,00002,379,776
16Sep 19, 2022 09:395,43242,184,19916,360,0001,022,0002,383,872
17Sep 19, 2022 09:425,44744,778,49017,429,00002,519,040
18Sep 19, 2022 09:395,45044,122,92316,414,0001,025,0002,519,040
19Sep 19, 2022 09:425,680107,423,80918,177,42802,277,376
20Sep 19, 2022 09:395,68575,995,37618,192,35602,281,472
21Sep 19, 2022 09:395,70590,168,16918,256,46502,285,568
22Sep 19, 2022 09:395,71983,837,09718,302,17602,285,568
23Sep 19, 2022 09:425,72478,280,22418,317,62902,281,472
24Sep 19, 2022 09:425,72983,287,16718,333,62302,273,280