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 16:23Andrew MoonAndrew MoonScore: 5,223Success
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 16:235,18638,099,46315,559,0001,037,0002,387,968
2Jul 8, 2023 16:235,19546,779,20716,624,00002,265,088
3Jul 8, 2023 16:235,20042,201,02716,639,00002,383,872
4Jul 8, 2023 16:235,20040,167,61316,641,00002,387,968
5Jul 8, 2023 16:235,20246,599,17516,645,00002,265,088
6Jul 8, 2023 16:235,21542,208,60716,689,00002,265,088
7Jul 8, 2023 16:235,22342,990,85215,671,0001,044,0002,265,088
8Jul 8, 2023 16:235,22443,812,92615,673,0001,044,0002,265,088
9Jul 8, 2023 16:235,27342,924,51614,889,0001,985,0002,392,064
10Jul 8, 2023 16:235,42268,294,68517,351,37302,240,512
11Jul 8, 2023 16:235,42688,551,25017,363,05302,289,664
12Jul 8, 2023 16:235,44372,822,92317,417,83802,289,664