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 16, 2021 22:48Yuriy LyfenkoYuriy LyfenkoScore: 5,444Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 22:485,4122,484,720,87817,319,00002,519,040
2May 16, 2021 22:485,4142,002,194,16116,307,0001,019,0002,519,040
3May 16, 2021 22:485,4304,701,738,58915,446,0001,930,0002,265,088
4May 16, 2021 22:485,4344,311,466,69116,366,0001,022,0002,527,232
5May 16, 2021 22:485,4433,890,155,43117,418,00002,523,136
6May 16, 2021 22:485,4442,131,122,88016,397,0001,024,0002,396,160
7May 16, 2021 22:485,4442,057,897,16515,373,0002,049,0002,523,136
8May 16, 2021 22:485,4524,889,434,77915,508,0001,938,0002,465,792
9May 16, 2021 22:485,4664,654,367,33516,462,0001,028,0002,519,040
10May 16, 2021 22:485,636668,726,28218,034,36702,285,568
11May 16, 2021 22:485,6461,704,409,35218,066,49702,281,472
12May 16, 2021 22:485,658603,408,76918,105,34802,285,568