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,206Success
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,16841,843,90016,538,00002,277,376
2Jul 15, 2024 13:475,16843,456,25316,539,00002,506,752
3Jul 15, 2024 13:475,18032,446,76916,577,00002,502,656
4Jul 15, 2024 13:475,18139,776,85316,578,00002,277,376
5Jul 15, 2024 13:475,18945,980,75415,567,0001,037,0002,506,752
6Jul 15, 2024 13:475,19437,523,23316,620,00002,506,752
7Jul 15, 2024 13:475,20632,256,21616,660,00002,510,848
8Jul 15, 2024 13:475,21534,284,05116,689,00002,277,376
9Jul 15, 2024 13:475,21633,683,39016,690,00002,277,376
10Jul 15, 2024 13:475,42277,507,39817,350,99602,383,872
11Jul 15, 2024 13:475,424101,675,62117,355,75102,248,704
12Jul 15, 2024 13:475,45594,110,18817,456,70602,248,704