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 22, 2022 16:36Eugene ZhydzetskiEugene ZhydzetskiScore: 5,918Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 22, 2022 16:365,88846,198,29915,866,0002,975,0002,535,424
2Aug 22, 2022 16:365,89539,291,09317,872,000992,0002,334,720
3Aug 22, 2022 16:365,90143,063,03116,896,0001,987,0002,285,568
4Aug 22, 2022 16:365,90352,095,12716,900,0001,988,0002,535,424
5Aug 22, 2022 16:365,90447,827,69918,894,00002,326,528
6Aug 22, 2022 16:365,91035,599,81816,922,0001,990,0002,330,624
7Aug 22, 2022 16:365,91847,542,64415,949,0002,990,0002,535,424
8Aug 22, 2022 16:365,93752,090,23817,999,000999,0002,531,328
9Aug 22, 2022 16:365,95343,322,53217,044,0002,005,0002,285,568
10Aug 22, 2022 16:366,02986,342,18219,292,06302,244,608
11Aug 22, 2022 16:366,04188,364,68419,331,14502,240,512
12Aug 22, 2022 16:366,12597,800,80819,600,62402,252,800