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 9, 2023 01:12Andrew MoonAndrew MoonScore: 5,273Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 9, 2023 01:125,27043,276,27814,881,0001,984,0002,265,088
2Jul 9, 2023 01:125,27141,472,77614,884,0001,984,0002,265,088
3Jul 9, 2023 01:125,27234,109,50715,878,000992,0002,387,968
4Jul 9, 2023 01:125,27246,623,95315,878,000992,0002,265,088
5Jul 9, 2023 01:125,27248,202,77414,887,0001,984,0002,383,872
6Jul 9, 2023 01:125,27344,731,95416,873,00002,383,872
7Jul 9, 2023 01:125,27334,351,20515,882,000992,0002,387,968
8Jul 9, 2023 01:125,27343,684,66714,890,0001,985,0002,265,088
9Jul 9, 2023 01:125,28135,757,58215,905,000994,0002,269,184
10Jul 9, 2023 01:125,45783,730,86717,462,00902,269,184
11Jul 9, 2023 01:125,46687,648,76117,489,66002,281,472
12Jul 9, 2023 01:125,47181,547,59617,507,93202,281,472