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 listJul 1, 2021 19:46Yuriy LyfenkoYuriy LyfenkoScore: 5,555Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 1, 2021 19:465,471542,675,43616,478,0001,029,0002,281,472
2Jul 1, 2021 19:465,474546,790,97417,516,00002,285,568
3Jul 1, 2021 19:465,479543,730,61216,501,0001,031,0002,281,472
4Jul 1, 2021 19:465,511542,902,62716,599,0001,037,0002,281,472
5Jul 1, 2021 19:465,553545,884,30215,797,0001,974,0002,281,472
6Jul 1, 2021 19:465,553547,056,01916,784,000987,0002,285,568
7Jul 1, 2021 19:465,555542,954,00116,788,000987,0002,281,472
8Jul 1, 2021 19:465,558544,609,73416,796,000988,0002,531,328
9Jul 1, 2021 19:465,559542,528,28917,788,00002,285,568
10Jul 1, 2021 19:465,637580,436,75518,038,71902,289,664
11Jul 1, 2021 19:465,647580,096,92918,070,25602,285,568
12Jul 1, 2021 19:465,671584,866,35118,146,27902,297,856