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 9, 2024 08:57AnSaAnSaScore: 5,604Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 08:575,57943,598,67815,870,0001,983,0002,281,472
2Jun 9, 2024 08:575,57943,348,07815,871,0001,983,0002,281,472
3Jun 9, 2024 08:575,57943,965,93315,871,0001,983,0002,281,472
4Jun 9, 2024 08:575,58450,098,53114,890,0002,978,0002,277,376
5Jun 9, 2024 08:575,58835,648,95416,890,000993,0002,281,472
6Jun 9, 2024 08:575,60040,481,76016,866,0001,054,0002,281,472
7Jun 9, 2024 08:575,60445,239,80315,941,0001,992,0002,281,472
8Jun 9, 2024 08:575,60944,592,64315,954,0001,994,0002,281,472
9Jun 9, 2024 08:575,62139,678,82615,988,0001,998,0002,281,472
10Jun 9, 2024 08:575,87486,928,75718,798,15702,301,952
11Jun 9, 2024 08:575,89982,502,19218,878,10402,179,072
12Jun 9, 2024 08:575,90484,573,91518,893,81002,306,048