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 29, 2022 16:33Keichi TakahashiKeichi TakahashiScore: 5,318Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2022 16:335,29641,607,93714,953,0001,993,0002,265,088
2May 29, 2022 16:335,29846,625,65915,956,000997,0002,383,872
3May 29, 2022 16:335,30342,565,60114,973,0001,996,0002,265,088
4May 29, 2022 16:335,30432,404,08114,976,0001,996,0002,265,088
5May 29, 2022 16:335,30744,011,99614,984,0001,997,0002,265,088
6May 29, 2022 16:335,31237,040,10214,998,0001,999,0002,265,088
7May 29, 2022 16:335,31836,031,62716,017,0001,001,0002,265,088
8May 29, 2022 16:335,32331,568,24516,032,0001,002,0002,506,752
9May 29, 2022 16:335,32935,374,02616,050,0001,003,0002,265,088
10May 29, 2022 16:335,49581,055,10817,585,58802,285,568
11May 29, 2022 16:335,49894,312,31717,592,80602,273,280
12May 29, 2022 16:335,53288,169,49417,703,52802,289,664