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 25, 2024 15:57Yuriy LyfenkoYuriy LyfenkoScore: 4,434Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 25, 2024 15:574,398543,445,15913,070,0001,005,0002,396,160
2Jul 25, 2024 15:574,403540,142,40112,076,0002,012,0002,269,184
3Jul 25, 2024 15:574,407540,941,12013,094,0001,007,0002,523,136
4Jul 25, 2024 15:574,412544,718,78213,109,0001,008,0002,523,136
5Jul 25, 2024 15:574,426537,110,15613,151,0001,011,0002,383,872
6Jul 25, 2024 15:574,429543,949,81413,160,0001,012,0002,265,088
7Jul 25, 2024 15:574,434541,736,97113,176,0001,013,0002,523,136
8Jul 25, 2024 15:574,437538,136,35313,183,0001,014,0002,523,136
9Jul 25, 2024 15:574,448537,606,12612,201,0002,033,0002,260,992
10Jul 25, 2024 15:574,625584,582,87014,800,36902,244,608
11Jul 25, 2024 15:574,629577,808,42614,812,15902,244,608
12Jul 25, 2024 15:574,666583,156,31114,929,78002,285,568