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 15, 2024 13:47kytanskytansScore: 5,215Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 15, 2024 13:475,18442,990,86815,552,0001,036,0002,273,280
2Jul 15, 2024 13:475,18543,449,10416,592,00002,277,376
3Jul 15, 2024 13:475,18743,963,95516,597,00002,535,424
4Jul 15, 2024 13:475,18831,997,42016,600,00002,494,464
5Jul 15, 2024 13:475,18842,806,44916,602,00002,535,424
6Jul 15, 2024 13:475,19340,578,86816,616,00002,506,752
7Jul 15, 2024 13:475,21534,389,36416,688,00002,277,376
8Jul 15, 2024 13:475,21643,918,08416,690,00002,277,376
9Jul 15, 2024 13:475,22746,679,67616,726,00002,506,752
10Jul 15, 2024 13:475,45296,855,61717,446,27202,244,608
11Jul 15, 2024 13:475,46081,817,32817,471,09102,252,800
12Jul 15, 2024 13:475,46686,142,67917,490,35302,248,704