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 28, 2024 06:32HuynhHuynhScore: 5,403Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 06:325,35538,173,64915,121,0002,016,0002,449,408
2Jul 28, 2024 06:325,36337,866,65915,142,0002,019,0002,449,408
3Jul 28, 2024 06:325,36439,603,10716,156,0001,009,0002,531,328
4Jul 28, 2024 06:325,37739,145,01515,182,0002,024,0002,449,408
5Jul 28, 2024 06:325,38538,149,79616,219,0001,013,0002,453,504
6Jul 28, 2024 06:325,39040,604,85316,233,0001,014,0002,445,312
7Jul 28, 2024 06:325,40338,920,80816,274,0001,017,0002,531,328
8Jul 28, 2024 06:325,40840,667,39917,305,00002,531,328
9Jul 28, 2024 06:325,40934,804,50517,308,00002,449,408
10Jul 28, 2024 06:325,67074,873,73718,145,12002,195,456
11Jul 28, 2024 06:325,68181,187,50118,178,57302,203,648
12Jul 28, 2024 06:325,70877,394,81818,265,53502,326,528