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 15, 2021 21:41Yuriy LyfenkoYuriy LyfenkoScore: 5,583Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 21:415,44433,533,45515,371,0002,049,0002,523,136
2May 15, 2021 21:415,44934,516,17817,436,00002,396,160
3May 15, 2021 21:415,45738,589,94216,436,0001,027,0002,523,136
4May 15, 2021 21:415,45942,060,75017,469,00002,400,256
5May 15, 2021 21:415,47337,780,44915,452,0002,060,0002,387,968
6May 15, 2021 21:415,48138,863,63216,508,0001,031,0002,523,136
7May 15, 2021 21:415,58345,451,18616,872,000992,0002,260,992
8May 15, 2021 21:415,58348,905,43816,874,000992,0002,523,136
9May 15, 2021 21:415,58647,131,19515,890,0001,986,0002,396,160
10May 15, 2021 21:415,66485,281,69818,126,11602,277,376
11May 15, 2021 21:415,67979,226,54018,171,26602,281,472
12May 15, 2021 21:415,68894,695,87318,202,31902,273,280