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 listJul 8, 2021 16:51Yuriy LyfenkoYuriy LyfenkoScore: 4,460Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2021 16:514,428546,182,25613,158,0001,012,0002,260,992
2Jul 8, 2021 16:514,430542,060,91713,164,0001,012,0002,396,160
3Jul 8, 2021 16:514,431541,644,17512,153,0002,025,0002,383,872
4Jul 8, 2021 16:514,441535,847,21814,211,00002,265,088
5Jul 8, 2021 16:514,451543,822,94312,209,0002,034,0002,260,992
6Jul 8, 2021 16:514,451537,704,35214,243,00002,387,968
7Jul 8, 2021 16:514,460540,020,94113,253,0001,019,0002,265,088
8Jul 8, 2021 16:514,467538,172,23713,273,0001,021,0002,523,136
9Jul 8, 2021 16:514,481544,216,47513,316,0001,024,0002,396,160
10Jul 8, 2021 16:514,599582,331,24814,718,14002,244,608
11Jul 8, 2021 16:514,609590,782,82214,750,17802,244,608
12Jul 8, 2021 16:514,626573,089,71814,803,65002,244,608