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 listMar 24, 2024 22:55IhebIhebScore: 5,321Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 24, 2024 22:555,28941,136,76314,935,0001,991,0002,265,088
2Mar 24, 2024 22:555,29842,616,52515,955,000997,0002,387,968
3Mar 24, 2024 22:555,30149,216,87015,965,000997,0002,265,088
4Mar 24, 2024 22:555,30944,242,91514,992,0001,998,0002,265,088
5Mar 24, 2024 22:555,31349,086,20115,003,0002,000,0002,510,848
6Mar 24, 2024 22:555,31442,643,21315,005,0002,000,0002,506,752
7Mar 24, 2024 22:555,32144,928,77716,026,0001,001,0002,383,872
8Mar 24, 2024 22:555,33042,901,56515,051,0002,006,0002,387,968
9Mar 24, 2024 22:555,33433,438,76616,065,0001,004,0002,387,968
10Mar 24, 2024 22:555,51495,561,04117,644,00602,240,512
11Mar 24, 2024 22:555,53469,797,21017,707,57602,277,376
12Mar 24, 2024 22:555,56889,109,49217,818,64102,285,568