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 05:51Yuriy LyfenkoYuriy LyfenkoScore: 5,309Success
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 05:515,27440,925,64216,878,00002,400,256
2May 24, 2021 05:515,28032,367,35314,909,0001,987,0002,383,872
3May 24, 2021 05:515,29547,892,35314,950,0001,993,0002,265,088
4May 24, 2021 05:515,30143,537,98614,967,0001,995,0002,265,088
5May 24, 2021 05:515,30441,903,79515,974,000998,0002,396,160
6May 24, 2021 05:515,30743,068,65915,984,000999,0002,396,160
7May 24, 2021 05:515,30939,571,31815,989,000999,0002,265,088
8May 24, 2021 05:515,31140,010,67814,996,0001,999,0002,396,160
9May 24, 2021 05:515,32842,287,03616,048,0001,003,0002,506,752
10May 24, 2021 05:515,47267,536,56017,510,90502,273,280
11May 24, 2021 05:515,47886,543,18517,529,77102,269,184
12May 24, 2021 05:515,51880,486,04617,656,01202,285,568