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 6, 2021 00:09Yuriy LyfenkoYuriy LyfenkoScore: 5,091Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2021 00:095,02630,981,26214,072,0002,010,0002,265,088
2Jul 6, 2021 00:095,03036,869,33415,090,0001,006,0002,265,088
3Jul 6, 2021 00:095,03343,740,07414,091,0002,013,0002,387,968
4Jul 6, 2021 00:095,03633,557,37714,102,0002,014,0002,396,160
5Jul 6, 2021 00:095,04129,648,74315,123,0001,008,0002,527,232
6Jul 6, 2021 00:095,05445,689,03915,163,0001,010,0002,265,088
7Jul 6, 2021 00:095,09136,381,93415,273,0001,018,0002,387,968
8Jul 6, 2021 00:095,10736,934,79816,341,00002,506,752
9Jul 6, 2021 00:095,11631,394,64416,370,00002,265,088
10Jul 6, 2021 00:095,23389,626,54516,746,76002,281,472
11Jul 6, 2021 00:095,25676,466,27316,820,27602,273,280
12Jul 6, 2021 00:095,25871,508,95616,824,74102,281,472