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 13, 2021 19:21Andrey TsvetkovAndrey TsvetkovScore: 5,757Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2021 19:215,72340,090,80116,278,0002,034,0002,334,720
2Jul 13, 2021 19:215,72541,229,24915,266,0003,053,0002,334,720
3Jul 13, 2021 19:215,72834,484,52216,292,0002,036,0002,334,720
4Jul 13, 2021 19:215,74746,562,62516,346,0002,043,0002,334,720
5Jul 13, 2021 19:215,75350,280,09816,363,0002,045,0002,527,232
6Jul 13, 2021 19:215,75753,010,41718,421,51402,240,512
7Jul 13, 2021 19:215,75740,037,76815,353,0003,070,0002,334,720
8Jul 13, 2021 19:215,75873,980,30818,425,89502,236,416
9Jul 13, 2021 19:215,76847,354,44916,408,0002,051,0002,531,328
10Jul 13, 2021 19:215,77879,499,27718,489,80002,232,320
11Jul 13, 2021 19:215,79241,546,53016,476,0002,059,0002,334,720
12Jul 13, 2021 19:215,80344,408,98717,540,0001,031,0002,318,336