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 24, 2021 18:21Yuriy LyfenkoYuriy LyfenkoScore: 5,203Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 18:215,14241,532,20716,454,00002,400,256
2May 24, 2021 18:215,14833,199,28915,444,0001,029,0002,265,088
3May 24, 2021 18:215,16533,461,39616,528,00002,387,968
4May 24, 2021 18:215,17448,039,72715,522,0001,034,0002,506,752
5May 24, 2021 18:215,17639,908,47215,529,0001,035,0002,265,088
6May 24, 2021 18:215,19036,047,47215,570,0001,038,0002,265,088
7May 24, 2021 18:215,20345,057,52116,648,00002,527,232
8May 24, 2021 18:215,20645,561,99016,658,00002,265,088
9May 24, 2021 18:215,21042,597,40216,673,00002,265,088
10May 24, 2021 18:215,36452,169,06417,164,97902,416,640
11May 24, 2021 18:215,40292,425,60417,286,76302,277,376
12May 24, 2021 18:215,41247,509,43617,319,03002,277,376