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 15, 2024 19:27джулисджулисScore: 5,276Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 15, 2024 19:275,21543,363,69315,645,0001,043,0002,375,680
2Jun 15, 2024 19:275,21532,540,15516,689,00002,371,584
3Jun 15, 2024 19:275,21939,432,06716,700,00002,371,584
4Jun 15, 2024 19:275,22444,559,15715,673,0001,044,0002,371,584
5Jun 15, 2024 19:275,23337,876,08315,698,0001,046,0002,367,488
6Jun 15, 2024 19:275,25740,358,74416,822,00002,293,760
7Jun 15, 2024 19:275,26142,581,54014,854,0001,980,0002,379,776
8Jun 15, 2024 19:275,26742,362,30315,864,000991,0002,469,888
9Jun 15, 2024 19:275,26834,730,39615,868,000991,0002,359,296
10Jun 15, 2024 19:275,26930,665,63614,878,0001,983,0002,473,984
11Jun 15, 2024 19:275,27142,646,09215,874,000992,0002,293,760
12Jun 15, 2024 19:275,27144,625,00814,884,0001,984,0002,383,872
13Jun 15, 2024 19:275,27638,043,87715,891,000993,0002,293,760
14Jun 15, 2024 19:275,27743,693,63715,892,000993,0002,293,760
15Jun 15, 2024 19:275,28044,148,92614,909,0001,987,0002,293,760
16Jun 15, 2024 19:275,28231,558,85714,915,0001,988,0002,371,584
17Jun 15, 2024 19:275,29742,981,90515,952,000997,0002,363,392
18Jun 15, 2024 19:275,29936,468,11415,960,000997,0002,293,760
19Jun 15, 2024 19:275,44086,091,91417,407,67902,375,680
20Jun 15, 2024 19:275,44363,489,04217,416,35702,248,704
21Jun 15, 2024 19:275,47770,046,46417,525,30702,244,608
22Jun 15, 2024 19:275,48477,899,21617,548,30202,244,608
23Jun 15, 2024 19:275,49184,766,12917,572,60702,375,680
24Jun 15, 2024 19:275,49594,361,41717,585,50102,244,608