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 listFeb 27, 2023 13:40Yuriy LyfenkoYuriy LyfenkoScore: 4,637Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 27, 2023 13:404,574545,495,68513,591,0001,045,0002,265,088
2Feb 27, 2023 13:404,620540,104,40312,814,0001,971,0002,519,040
3Feb 27, 2023 13:404,622544,278,65812,818,0001,972,0002,265,088
4Feb 27, 2023 13:404,623550,587,56713,806,000986,0002,527,232
5Feb 27, 2023 13:404,629539,644,81712,837,0001,975,0002,523,136
6Feb 27, 2023 13:404,635539,477,76511,865,0002,966,0002,523,136
7Feb 27, 2023 13:404,637539,308,00012,859,0001,978,0002,523,136
8Feb 27, 2023 13:404,638539,755,28112,864,0001,979,0002,260,992
9Feb 27, 2023 13:404,640545,635,43312,869,0001,979,0002,523,136
10Feb 27, 2023 13:404,762590,754,14915,237,83602,281,472
11Feb 27, 2023 13:404,768579,000,98615,256,52602,281,472
12Feb 27, 2023 13:404,788577,887,60415,320,09102,285,568