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 11, 2021 22:28Yuriy LyfenkoYuriy LyfenkoScore: 5,586Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 22:285,50335,371,46016,574,0001,035,0002,400,256
2May 11, 2021 22:285,51644,377,98716,614,0001,038,0002,392,064
3May 11, 2021 22:285,53137,158,89416,659,0001,041,0002,523,136
4May 11, 2021 22:285,53245,030,99315,620,0002,082,0002,260,992
5May 11, 2021 22:285,53248,880,70915,620,0002,082,0002,260,992
6May 11, 2021 22:285,53643,558,87316,673,0001,042,0002,396,160
7May 11, 2021 22:285,53934,889,83816,682,0001,042,0002,396,160
8May 11, 2021 22:285,54342,564,20117,737,00002,260,992
9May 11, 2021 22:285,57141,195,19715,847,0001,980,0002,523,136
10May 11, 2021 22:285,57944,635,66316,861,000991,0002,400,256
11May 11, 2021 22:285,58444,546,68616,877,000992,0002,523,136
12May 11, 2021 22:285,58641,585,66516,883,000993,0002,260,992
13May 11, 2021 22:285,58646,098,77916,882,000993,0002,523,136
14May 11, 2021 22:285,58647,574,07716,882,000993,0002,392,064
15May 11, 2021 22:285,58736,658,64517,878,00002,392,064
16May 11, 2021 22:285,59048,730,55315,900,0001,987,0002,387,968
17May 11, 2021 22:285,59046,603,78415,900,0001,987,0002,392,064
18May 11, 2021 22:285,59247,430,55815,907,0001,988,0002,260,992
19May 11, 2021 22:285,73974,721,18918,363,44202,281,472
20May 11, 2021 22:285,74067,367,60318,366,69802,277,376
21May 11, 2021 22:285,75289,913,60818,407,08402,277,376
22May 11, 2021 22:285,76090,033,60318,432,89302,281,472
23May 11, 2021 22:285,762103,767,05918,437,31102,277,376
24May 11, 2021 22:285,77078,446,05118,464,67702,281,472