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 listAug 3, 2024 18:36Nao YonashiroNao YonashiroScore: 4,818Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 18:364,76641,509,50213,218,0002,033,0002,289,664
2Aug 3, 2024 18:364,79137,554,77013,288,0002,044,0002,273,280
3Aug 3, 2024 18:364,79237,715,65414,312,0001,022,0002,289,664
4Aug 3, 2024 18:364,81533,867,46714,382,0001,027,0002,269,184
5Aug 3, 2024 18:364,81637,823,95314,384,0001,027,0002,269,184
6Aug 3, 2024 18:364,81735,076,60315,413,00002,273,280
7Aug 3, 2024 18:364,81832,840,47614,389,0001,027,0002,531,328
8Aug 3, 2024 18:364,82136,986,85514,399,0001,028,0002,269,184
9Aug 3, 2024 18:364,82341,506,65314,405,0001,028,0002,289,664
10Aug 3, 2024 18:365,03388,764,80316,105,49202,306,048
11Aug 3, 2024 18:365,07979,542,85316,253,17002,183,168
12Aug 3, 2024 18:365,08075,211,32816,254,90502,183,168