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:54kytanskytansScore: 4,454Success
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:544,41635,538,73013,121,0001,009,0002,502,656
2Jul 15, 2024 13:544,42131,443,72413,136,0001,010,0002,277,376
3Jul 15, 2024 13:544,43330,378,13613,174,0001,013,0002,277,376
4Jul 15, 2024 13:544,43531,597,39413,178,0001,013,0002,506,752
5Jul 15, 2024 13:544,44530,415,43414,225,00002,506,752
6Jul 15, 2024 13:544,45132,786,39014,243,00002,510,848
7Jul 15, 2024 13:544,45428,936,37214,254,00002,502,656
8Jul 15, 2024 13:544,45631,041,22714,259,00002,273,280
9Jul 15, 2024 13:544,46941,770,86614,301,00002,277,376
10Jul 15, 2024 13:545,01783,513,34116,053,80002,244,608
11Jul 15, 2024 13:545,02285,759,31316,071,35002,248,704
12Jul 15, 2024 13:545,03578,348,44216,112,33502,248,704