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 listJun 2, 2021 14:06Yuriy LyfenkoYuriy LyfenkoScore: 5,276Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 14:065,26945,847,18215,871,000991,0002,269,184
2Jun 2, 2021 14:065,27040,592,29515,872,000992,0002,510,848
3Jun 2, 2021 14:065,27444,396,05016,876,00002,265,088
4Jun 2, 2021 14:065,27540,832,37316,881,00002,392,064
5Jun 2, 2021 14:065,27532,270,22916,881,00002,265,088
6Jun 2, 2021 14:065,27644,768,65315,889,000993,0002,396,160
7Jun 2, 2021 14:065,27647,132,12115,891,000993,0002,265,088
8Jun 2, 2021 14:065,27933,718,41914,905,0001,987,0002,265,088
9Jun 2, 2021 14:065,29839,880,23914,959,0001,994,0002,265,088
10Jun 2, 2021 14:065,43455,045,22917,387,95902,265,088
11Jun 2, 2021 14:065,43783,425,91117,397,36402,240,512
12Jun 2, 2021 14:065,45897,461,91417,465,07702,269,184