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 23, 2021 17:48Yuriy LyfenkoYuriy LyfenkoScore: 5,353Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 17:485,32440,840,96116,034,0001,002,0002,396,160
2May 23, 2021 17:485,32942,146,43815,047,0002,006,0002,506,752
3May 23, 2021 17:485,33538,403,98615,063,0002,008,0002,265,088
4May 23, 2021 17:485,33844,006,46516,076,0001,004,0002,527,232
5May 23, 2021 17:485,35039,500,28016,114,0001,007,0002,265,088
6May 23, 2021 17:485,35236,803,44215,112,0002,014,0002,265,088
7May 23, 2021 17:485,35342,924,84616,122,0001,007,0002,392,064
8May 23, 2021 17:485,37146,179,14216,177,0001,011,0002,265,088
9May 23, 2021 17:485,39739,753,78415,239,0002,031,0002,392,064
10May 23, 2021 17:485,60384,771,00317,928,20502,273,280
11May 23, 2021 17:485,605106,453,34417,934,77402,273,280
12May 23, 2021 17:485,65178,893,05818,082,52202,285,568