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 26, 2022 08:06Keichi TakahashiKeichi TakahashiScore: 5,498Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 26, 2022 08:065,46739,437,12816,464,0001,029,0002,265,088
2May 26, 2022 08:065,48333,720,82016,515,0001,032,0002,265,088
3May 26, 2022 08:065,49240,131,06416,542,0001,033,0002,396,160
4May 26, 2022 08:065,49339,448,90817,576,00002,527,232
5May 26, 2022 08:065,49336,338,89016,545,0001,034,0002,379,776
6May 26, 2022 08:065,49837,100,37817,593,00002,392,064
7May 26, 2022 08:065,49846,845,40616,560,0001,035,0002,265,088
8May 26, 2022 08:065,49839,852,08117,595,00002,265,088
9May 26, 2022 08:065,51544,113,89016,610,0001,038,0002,265,088
10May 26, 2022 08:065,67764,004,33218,167,40802,285,568
11May 26, 2022 08:065,68089,453,61718,175,81702,285,568
12May 26, 2022 08:065,69576,738,51218,223,94902,281,472