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 21:19HuynhHuynhScore: 5,432Success
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 21:195,41442,869,90817,325,00002,269,184
2Jul 27, 2024 21:195,41732,772,29016,315,0001,019,0002,437,120
3Jul 27, 2024 21:195,42138,905,87816,328,0001,020,0002,531,328
4Jul 27, 2024 21:195,42244,742,67616,331,0001,020,0002,514,944
5Jul 27, 2024 21:195,42346,922,80517,355,00002,428,928
6Jul 27, 2024 21:195,43034,443,46016,353,0001,022,0002,433,024
7Jul 27, 2024 21:195,43241,537,95417,382,00002,531,328
8Jul 27, 2024 21:195,43830,763,34615,356,0002,047,0002,531,328
9Jul 27, 2024 21:195,43945,831,36213,311,0004,095,0002,531,328
10Jul 27, 2024 21:195,69389,103,47618,217,84402,203,648
11Jul 27, 2024 21:195,70375,896,77718,249,45302,183,168
12Jul 27, 2024 21:195,71881,792,82518,296,59602,179,072