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 12, 2021 07:48alex3dalex3dScore: 5,847Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 12, 2021 07:485,80839,431,86417,555,0001,032,0002,269,184
2May 12, 2021 07:485,81033,825,11918,593,00002,265,088
3May 12, 2021 07:485,82539,777,52218,639,00002,269,184
4May 12, 2021 07:485,83047,554,54317,621,0001,036,0002,531,328
5May 12, 2021 07:485,83943,570,22518,685,00002,441,216
6May 12, 2021 07:485,84549,115,69618,705,00002,531,328
7May 12, 2021 07:485,84743,090,00718,710,00002,449,408
8May 12, 2021 07:485,85241,512,53217,685,0001,040,0002,531,328
9May 12, 2021 07:485,89643,692,72718,867,00002,527,232
10May 12, 2021 07:486,13383,596,23919,626,90702,195,456
11May 12, 2021 07:486,13490,601,39719,628,63702,195,456
12May 12, 2021 07:486,15484,001,23019,694,13002,191,360