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 listJun 13, 2024 03:18джулисджулисScore: 5,277Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2024 03:185,22631,144,55915,679,0001,045,0002,293,760
2Jun 13, 2024 03:175,26042,534,02014,853,0001,980,0002,293,760
3Jun 13, 2024 03:185,26943,445,46316,860,00002,371,584
4Jun 13, 2024 03:185,26940,798,09715,871,000991,0002,379,776
5Jun 13, 2024 03:175,27045,242,20715,873,000992,0002,367,488
6Jun 13, 2024 03:175,27140,931,80215,874,000992,0002,293,760
7Jun 13, 2024 03:175,27143,244,70615,874,000992,0002,293,760
8Jun 13, 2024 03:175,27244,987,97314,885,0001,984,0002,379,776
9Jun 13, 2024 03:175,27342,248,17014,888,0001,985,0002,363,392
10Jun 13, 2024 03:175,27336,087,09414,887,0001,985,0002,293,760
11Jun 13, 2024 03:185,27545,184,41715,887,000992,0002,367,488
12Jun 13, 2024 03:185,27632,678,16514,898,0001,986,0002,293,760
13Jun 13, 2024 03:175,27736,379,17014,900,0001,986,0002,293,760
14Jun 13, 2024 03:185,27743,004,19314,899,0001,986,0002,367,488
15Jun 13, 2024 03:185,28434,633,34314,920,0001,989,0002,293,760
16Jun 13, 2024 03:175,28433,860,98915,915,000994,0002,289,664
17Jun 13, 2024 03:185,28737,171,17914,927,0001,990,0002,289,664
18Jun 13, 2024 03:185,29943,874,00614,963,0001,995,0002,293,760
19Jun 13, 2024 03:175,49266,459,41217,574,83802,256,896
20Jun 13, 2024 03:185,49794,656,20917,589,14002,256,896
21Jun 13, 2024 03:175,51086,373,31817,631,20602,252,800
22Jun 13, 2024 03:175,51191,511,91917,633,69302,260,992
23Jun 13, 2024 03:185,60285,676,26717,925,86902,256,896
24Jun 13, 2024 03:185,62285,740,25517,991,22802,244,608