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 listMay 16, 2021 13:42Yuriy LyfenkoYuriy LyfenkoScore: 5,598Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 13:425,57644,305,05415,860,0001,982,0002,519,040
2May 16, 2021 13:425,58543,421,05116,880,000992,0002,387,968
3May 16, 2021 13:425,58747,926,17315,891,0001,986,0002,383,872
4May 16, 2021 13:425,59238,953,03914,912,0002,982,0002,519,040
5May 16, 2021 13:425,59342,515,89615,909,0001,988,0002,519,040
6May 16, 2021 13:425,59345,508,32617,898,00002,260,992
7May 16, 2021 13:425,59837,455,10016,920,000995,0002,260,992
8May 16, 2021 13:425,60748,317,17916,946,000996,0002,396,160
9May 16, 2021 13:425,63248,447,48016,019,0002,002,0002,519,040
10May 16, 2021 13:425,96595,774,37819,088,85902,285,568
11May 16, 2021 13:425,97590,905,06019,119,24602,277,376
12May 16, 2021 13:426,03688,031,66719,316,72102,277,376