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 22, 2021 17:35Andrey TsvetkovAndrey TsvetkovScore: 5,920Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 17:355,88848,274,70916,860,0001,983,0002,531,328
2May 22, 2021 17:355,89544,727,96914,893,0003,971,0002,527,232
3May 22, 2021 17:355,90142,773,04618,884,00002,531,328
4May 22, 2021 17:355,90947,292,26716,808,0002,101,0002,326,528
5May 22, 2021 17:355,90945,976,67817,859,0001,050,0002,326,528
6May 22, 2021 17:355,91143,736,94117,920,000995,0002,326,528
7May 22, 2021 17:355,91851,048,93116,946,0001,993,0002,531,328
8May 22, 2021 17:355,92044,896,14716,951,0001,994,0002,326,528
9May 22, 2021 17:355,93482,658,96218,988,37102,224,128
10May 22, 2021 17:355,94333,149,94916,015,0003,002,0002,326,528
11May 22, 2021 17:355,96464,518,96919,083,91602,240,512
12May 22, 2021 17:355,993105,465,89719,178,54602,244,608
13May 22, 2021 17:356,01689,854,99619,251,12702,228,224
14May 22, 2021 17:356,03879,826,17819,321,30002,240,512
15May 22, 2021 17:356,06779,451,20419,415,93302,224,128