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 27, 2021 17:23Yurkov AlekseyYurkov AlekseyScore: 5,795Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 17:235,76638,406,23918,451,00002,269,184
2May 27, 2021 17:235,76744,119,72318,453,00002,273,280
3May 27, 2021 17:235,77839,645,17517,462,0001,027,0002,289,664
4May 27, 2021 17:235,77946,357,46217,465,0001,027,0002,289,664
5May 27, 2021 17:235,78435,489,25017,480,0001,028,0002,269,184
6May 27, 2021 17:235,79338,752,00418,536,00002,531,328
7May 27, 2021 17:235,79544,715,01817,515,0001,030,0002,289,664
8May 27, 2021 17:235,79845,973,02117,524,0001,030,0002,289,664
9May 27, 2021 17:235,82846,984,91217,615,0001,036,0002,289,664
10May 27, 2021 17:236,11392,275,04419,561,91302,170,880
11May 27, 2021 17:236,14649,566,81819,668,52702,297,856
12May 27, 2021 17:236,14873,818,99419,672,98702,285,568