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:23Yuriy LyfenkoYuriy LyfenkoScore: 5,081Success
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:235,03835,405,52215,115,0001,007,0002,527,232
2Jul 6, 2021 00:235,05240,821,32314,146,0002,020,0002,396,160
3Jul 6, 2021 00:235,05344,735,75515,158,0001,010,0002,265,088
4Jul 6, 2021 00:235,05942,294,53914,167,0002,023,0002,265,088
5Jul 6, 2021 00:235,06243,511,49215,186,0001,012,0002,400,256
6Jul 6, 2021 00:235,07943,957,38616,253,00002,396,160
7Jul 6, 2021 00:235,08133,955,82316,260,00002,265,088
8Jul 6, 2021 00:235,09031,700,86516,288,00002,392,064
9Jul 6, 2021 00:235,09332,488,36415,280,0001,018,0002,265,088
10Jul 6, 2021 00:235,23373,592,39016,746,17802,285,568
11Jul 6, 2021 00:235,26689,661,48916,852,31402,269,184
12Jul 6, 2021 00:235,28474,416,34316,909,40602,281,472