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 listAug 28, 2023 17:56Ilya AniskovetsIlya AniskovetsScore: 5,276Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 28, 2023 17:565,27153,738,01114,884,0001,984,0002,392,064
2Aug 28, 2023 17:565,27345,130,26715,881,000992,0002,260,992
3Aug 28, 2023 17:565,27432,141,00514,892,0001,985,0002,392,064
4Aug 28, 2023 17:565,27434,104,03114,893,0001,985,0002,265,088
5Aug 28, 2023 17:565,27443,534,75315,886,000992,0002,392,064
6Aug 28, 2023 17:565,27548,558,33215,888,000993,0002,265,088
7Aug 28, 2023 17:565,27632,418,82915,890,000993,0002,265,088
8Aug 28, 2023 17:565,28635,144,37614,925,0001,990,0002,265,088
9Aug 28, 2023 17:565,29431,763,89714,949,0001,993,0002,265,088
10Aug 28, 2023 17:565,48393,461,12417,546,45202,285,568
11Aug 28, 2023 17:565,51296,965,04517,637,84702,281,472
12Aug 28, 2023 17:565,51285,280,50517,639,14902,289,664