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:12Yuriy LyfenkoYuriy LyfenkoScore: 5,297Success
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:125,26442,458,54815,854,000990,0002,260,992
2May 27, 2021 17:125,26736,143,35916,855,00002,269,184
3May 27, 2021 17:125,27643,183,35615,889,000993,0002,396,160
4May 27, 2021 17:125,27734,432,75515,894,000993,0002,265,088
5May 27, 2021 17:125,27836,403,58815,896,000993,0002,396,160
6May 27, 2021 17:125,27849,763,24614,904,0001,987,0002,396,160
7May 27, 2021 17:125,29744,966,68114,956,0001,994,0002,265,088
8May 27, 2021 17:125,30537,251,80915,977,000998,0002,527,232
9May 27, 2021 17:125,31340,698,02916,001,0001,000,0002,383,872
10May 27, 2021 17:125,44452,703,43117,419,84202,281,472
11May 27, 2021 17:125,45447,890,55017,451,99602,273,280
12May 27, 2021 17:125,48970,962,52017,564,01002,281,472