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 14, 2024 11:29kytanskytansScore: 5,188Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 14, 2024 11:295,16337,352,00816,523,00002,498,560
2Jul 14, 2024 11:295,16537,490,17916,527,00002,277,376
3Jul 14, 2024 11:295,16638,716,47816,530,00002,277,376
4Jul 14, 2024 11:295,16637,865,55616,532,00002,494,464
5Jul 14, 2024 11:295,16941,789,89816,540,00002,494,464
6Jul 14, 2024 11:295,16938,757,29016,541,00002,535,424
7Jul 14, 2024 11:295,18838,336,90616,600,00002,277,376
8Jul 14, 2024 11:295,19242,189,49915,577,0001,038,0002,277,376
9Jul 14, 2024 11:295,19845,030,79315,595,0001,039,0002,482,176
10Jul 14, 2024 11:295,42180,451,71017,347,29102,236,416
11Jul 14, 2024 11:295,44285,964,48817,413,59002,232,320
12Jul 14, 2024 11:295,45279,674,67317,445,86402,236,416