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 listMay 15, 2021 21:47Yuriy LyfenkoYuriy LyfenkoScore: 5,474Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 21:465,44237,874,24514,342,0003,073,0002,392,064
2May 15, 2021 21:475,44634,776,53716,403,0001,025,0002,379,776
3May 15, 2021 21:475,44845,382,90117,434,00002,519,040
4May 15, 2021 21:475,44839,997,38617,435,00002,519,040
5May 15, 2021 21:465,45640,763,62116,432,0001,027,0002,387,968
6May 15, 2021 21:475,45742,877,80716,434,0001,027,0002,392,064
7May 15, 2021 21:465,45937,675,50716,442,0001,027,0002,387,968
8May 15, 2021 21:465,46040,048,01615,417,0002,055,0002,387,968
9May 15, 2021 21:465,46140,241,06317,476,00002,260,992
10May 15, 2021 21:475,46135,626,05117,476,00002,519,040
11May 15, 2021 21:475,46238,202,53217,479,00002,519,040
12May 15, 2021 21:475,46242,259,32916,451,0001,028,0002,383,872
13May 15, 2021 21:475,46333,805,27717,482,00002,519,040
14May 15, 2021 21:475,46442,271,98316,458,0001,028,0002,519,040
15May 15, 2021 21:475,46534,424,21815,430,0002,057,0002,465,792
16May 15, 2021 21:475,47243,879,57716,481,0001,030,0002,392,064
17May 15, 2021 21:475,47331,535,49017,513,00002,506,752
18May 15, 2021 21:465,47339,247,14217,514,00002,396,160
19May 15, 2021 21:465,47444,554,87016,487,0001,030,0002,519,040
20May 15, 2021 21:465,48540,725,76917,553,00002,387,968
21May 15, 2021 21:475,48639,053,84317,554,00002,506,752
22May 15, 2021 21:465,48939,240,18016,533,0001,033,0002,387,968
23May 15, 2021 21:475,49035,627,44916,534,0001,033,0002,383,872
24May 15, 2021 21:475,49637,333,65216,552,0001,034,0002,387,968
25May 15, 2021 21:475,58144,198,10514,884,0002,976,0002,519,040
26May 15, 2021 21:475,58346,734,40016,875,000992,0002,392,064
27May 15, 2021 21:475,58944,975,30215,898,0001,987,0002,383,872
28May 15, 2021 21:475,68785,048,11318,199,41902,273,280
29May 15, 2021 21:465,69185,575,27318,210,29402,277,376
30May 15, 2021 21:465,69675,175,64118,225,78502,277,376
31May 15, 2021 21:465,706101,663,07618,260,32102,285,568
32May 15, 2021 21:475,70792,344,05018,263,87502,273,280
33May 15, 2021 21:475,72485,614,51718,317,55402,285,568
34May 15, 2021 21:475,72489,544,20318,316,57102,277,376
35May 15, 2021 21:475,76583,711,70018,447,86602,281,472
36May 15, 2021 21:475,77764,939,75918,486,54302,273,280