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 17, 2023 22:41Ulyanov AlekseyUlyanov AlekseyScore: 5,923Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2023 22:415,85248,877,59417,687,0001,040,0002,277,376
2Jun 17, 2023 22:415,88345,774,05916,846,0001,981,0002,277,376
3Jun 17, 2023 22:415,89545,246,08016,878,0001,985,0002,531,328
4Jun 17, 2023 22:415,89948,318,46917,884,000993,0002,281,472
5Jun 17, 2023 22:415,90235,928,96016,899,0001,988,0002,277,376
6Jun 17, 2023 22:415,90843,412,38615,921,0002,985,0002,277,376
7Jun 17, 2023 22:415,92341,843,47616,960,0001,995,0002,277,376
8Jun 17, 2023 22:415,92849,030,13217,970,000998,0002,277,376
9Jun 17, 2023 22:415,93942,900,77617,004,0002,000,0002,277,376
10Jun 17, 2023 22:416,10286,521,91419,526,24602,297,856
11Jun 17, 2023 22:416,10277,193,23619,526,72102,297,856
12Jun 17, 2023 22:416,13399,654,44419,627,17402,306,048