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 27, 2024 02:22vientvientScore: 4,444Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2024 02:224,42129,865,71613,136,0001,010,0002,449,408
2Jul 27, 2024 02:224,43031,156,99012,151,0002,025,0002,273,280
3Jul 27, 2024 02:224,43431,312,72112,162,0002,027,0002,449,408
4Jul 27, 2024 02:224,44030,410,20412,178,0002,029,0002,449,408
5Jul 27, 2024 02:224,44131,813,40212,182,0002,030,0002,535,424
6Jul 27, 2024 02:224,44339,359,35812,187,0002,031,0002,449,408
7Jul 27, 2024 02:224,44430,462,12812,190,0002,031,0002,449,408
8Jul 27, 2024 02:224,44632,313,17812,196,0002,032,0002,457,600
9Jul 27, 2024 02:224,45528,093,83512,221,0002,036,0002,535,424
10Jul 27, 2024 02:224,67791,799,22314,967,04602,256,896
11Jul 27, 2024 02:224,70093,091,10115,039,74702,199,552
12Jul 27, 2024 02:224,71383,560,15315,080,86702,207,744