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 listAug 3, 2024 05:14MylesMylesScore: 4,531Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 05:144,48930,434,51913,340,0001,026,0002,281,472
2Aug 3, 2024 05:144,50328,729,97113,381,0001,029,0002,449,408
3Aug 3, 2024 05:144,50635,465,56313,390,0001,030,0002,281,472
4Aug 3, 2024 05:154,50729,566,28113,393,0001,030,0002,453,504
5Aug 3, 2024 05:154,50836,169,69913,394,0001,030,0002,281,472
6Aug 3, 2024 05:154,51331,944,28713,411,0001,031,0002,281,472
7Aug 3, 2024 05:154,52033,304,53713,430,0001,033,0002,449,408
8Aug 3, 2024 05:144,52133,749,57913,433,0001,033,0002,281,472
9Aug 3, 2024 05:154,52136,136,74413,433,0001,033,0002,449,408
10Aug 3, 2024 05:154,52331,086,66513,440,0001,033,0002,277,376
11Aug 3, 2024 05:144,52427,247,13414,476,00002,281,472
12Aug 3, 2024 05:144,53029,288,65413,462,0001,035,0002,445,312
13Aug 3, 2024 05:144,53127,783,21713,465,0001,035,0002,449,408
14Aug 3, 2024 05:154,53335,609,84313,468,0001,036,0002,457,600
15Aug 3, 2024 05:144,53433,565,03714,509,00002,281,472
16Aug 3, 2024 05:154,53534,418,40813,476,0001,036,0002,281,472
17Aug 3, 2024 05:144,53937,334,16413,489,0001,037,0002,281,472
18Aug 3, 2024 05:154,54030,489,55613,490,0001,037,0002,273,280
19Aug 3, 2024 05:154,78280,559,11515,301,16202,211,840
20Aug 3, 2024 05:154,78485,134,41115,309,33402,215,936
21Aug 3, 2024 05:144,79184,477,73015,332,01402,207,744
22Aug 3, 2024 05:144,79689,301,67615,348,71802,330,624
23Aug 3, 2024 05:144,80275,485,33015,366,90702,338,816
24Aug 3, 2024 05:154,81383,455,30415,400,42702,211,840