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 21:55Yuriy LyfenkoYuriy LyfenkoScore: 5,268Success
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 21:555,241542,568,16114,797,0001,973,0002,273,280
2Jun 2, 2021 21:555,248540,873,37915,806,000987,0002,273,280
3Jun 2, 2021 21:555,249548,695,29415,809,000988,0002,281,472
4Jun 2, 2021 21:555,250545,196,59715,812,000988,0002,281,472
5Jun 2, 2021 21:555,258542,097,05115,776,0001,051,0002,273,280
6Jun 2, 2021 21:555,263545,761,13614,860,0001,981,0002,273,280
7Jun 2, 2021 21:555,268538,175,02914,874,0001,983,0002,273,280
8Jun 2, 2021 21:555,278543,442,13615,895,000993,0002,281,472
9Jun 2, 2021 21:555,284543,716,84314,919,0001,989,0002,273,280
10Jun 2, 2021 21:555,398578,713,63717,272,69802,256,896
11Jun 2, 2021 21:555,414567,136,83417,324,42202,252,800
12Jun 2, 2021 21:555,451583,232,22917,441,60002,289,664