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 20:18HuynhHuynhScore: 5,588Success
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 20:185,53247,582,80117,702,00002,531,328
2Jul 27, 2024 20:185,58042,462,04116,865,000992,0002,531,328
3Jul 27, 2024 20:185,58236,827,48916,870,000992,0002,527,232
4Jul 27, 2024 20:185,58343,618,79216,873,000992,0002,449,408
5Jul 27, 2024 20:185,58540,830,93716,879,000992,0002,527,232
6Jul 27, 2024 20:185,58744,556,64716,886,000993,0002,457,600
7Jul 27, 2024 20:185,58834,556,04916,888,000993,0002,269,184
8Jul 27, 2024 20:185,59431,294,19516,906,000994,0002,531,328
9Jul 27, 2024 20:185,60340,854,29016,932,000996,0002,449,408
10Jul 27, 2024 20:185,79587,675,14418,545,31802,195,456
11Jul 27, 2024 20:185,82271,684,59618,629,84902,211,840
12Jul 27, 2024 20:185,83092,306,05618,655,11402,203,648