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 22:29HuynhHuynhScore: 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 27, 2024 22:295,35433,667,07715,117,0002,015,0002,285,568
2Jul 27, 2024 22:295,36239,572,90916,148,0001,009,0002,531,328
3Jul 27, 2024 22:295,36241,548,52416,149,0001,009,0002,531,328
4Jul 27, 2024 22:295,37038,690,23916,174,0001,010,0002,445,312
5Jul 27, 2024 22:295,37738,375,35716,193,0001,012,0002,445,312
6Jul 27, 2024 22:295,39437,767,91117,262,00002,449,408
7Jul 27, 2024 22:295,40341,911,42617,289,00002,531,328
8Jul 27, 2024 22:295,40738,141,90516,284,0001,017,0002,531,328
9Jul 27, 2024 22:295,42244,604,40316,330,0001,020,0002,531,328
10Jul 27, 2024 22:295,66285,469,35318,117,92802,199,552
11Jul 27, 2024 22:295,69074,053,67118,206,44302,199,552
12Jul 27, 2024 22:295,71271,360,94118,279,02602,330,624