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 listFeb 27, 2024 21:10Ryan Chung Yi ShengRyan Chung Yi ShengScore: 5,524Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 27, 2024 21:105,46784,568,94617,493,43202,301,952
2Feb 27, 2024 21:105,48497,596,39717,549,72902,293,760
3Feb 27, 2024 21:105,48645,053,12416,523,0001,032,0002,281,472
4Feb 27, 2024 21:105,49078,938,04117,567,71802,179,072
5Feb 27, 2024 21:105,49538,164,21416,550,0001,034,0002,404,352
6Feb 27, 2024 21:105,50744,647,61917,621,00002,281,472
7Feb 27, 2024 21:105,52444,076,05716,639,0001,039,0002,281,472
8Feb 27, 2024 21:105,52646,783,47016,643,0001,040,0002,281,472
9Feb 27, 2024 21:105,53145,144,78116,659,0001,041,0002,281,472
10Feb 27, 2024 21:105,54044,174,84716,687,0001,042,0002,400,256
11Feb 27, 2024 21:105,54449,721,56017,741,00002,281,472
12Feb 27, 2024 21:105,59042,787,71715,902,0001,987,0002,281,472