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 8, 2023 11:16Andrew MoonAndrew MoonScore: 5,494Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 11:165,46339,615,26517,482,00002,277,376
2Jul 8, 2023 11:165,47540,167,86716,489,0001,030,0002,289,664
3Jul 8, 2023 11:165,48242,439,40616,510,0001,031,0002,277,376
4Jul 8, 2023 11:165,48948,411,56616,532,0001,033,0002,289,664
5Jul 8, 2023 11:165,49040,802,72316,536,0001,033,0002,289,664
6Jul 8, 2023 11:165,49242,086,59216,542,0001,033,0002,289,664
7Jul 8, 2023 11:165,49440,994,50716,546,0001,034,0002,277,376
8Jul 8, 2023 11:165,50642,230,45116,584,0001,036,0002,289,664
9Jul 8, 2023 11:165,51242,034,65617,637,00002,289,664
10Jul 8, 2023 11:165,65989,667,11318,108,00702,252,800
11Jul 8, 2023 11:165,68464,047,00418,189,90202,301,952
12Jul 8, 2023 11:165,71873,971,81318,297,16002,179,072