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 18:31Yuriy LyfenkoYuriy LyfenkoScore: 5,464Success
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 18:315,4337,703,180,39016,419,000965,0002,265,088
2May 16, 2021 18:315,4362,812,779,72816,371,0001,023,0002,523,136
3May 16, 2021 18:315,4422,600,690,17216,390,0001,024,0002,519,040
4May 16, 2021 18:315,4453,770,451,18816,400,0001,025,0002,519,040
5May 16, 2021 18:315,446140,119,13915,490,0001,936,0002,387,968
6May 16, 2021 18:315,4542,161,476,76017,452,00002,519,040
7May 16, 2021 18:315,4647,959,747,52117,485,00002,523,136
8May 16, 2021 18:315,486362,050,73217,554,00002,519,040
9May 16, 2021 18:315,515750,085,07614,535,0003,114,0002,510,848
10May 16, 2021 18:315,6251,704,065,47717,998,94302,285,568
11May 16, 2021 18:315,6442,975,352,78118,059,82502,285,568
12May 16, 2021 18:315,6695,929,989,96018,140,32802,281,472