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 6, 2021 01:04Yuriy LyfenkoYuriy LyfenkoScore: 5,335Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2021 01:045,2711,045,924,36914,883,0001,984,0002,527,232
2Jul 6, 2021 01:045,2761,044,037,18814,897,0001,986,0002,527,232
3Jul 6, 2021 01:045,2811,046,676,65814,912,0001,988,0002,265,088
4Jul 6, 2021 01:045,3011,044,063,53815,967,000997,0002,265,088
5Jul 6, 2021 01:045,3031,043,913,30315,971,000998,0002,400,256
6Jul 6, 2021 01:045,3081,042,069,75116,984,00002,265,088
7Jul 6, 2021 01:045,3351,049,471,26615,063,0002,008,0002,260,992
8Jul 6, 2021 01:045,3381,040,747,63616,078,0001,004,0002,260,992
9Jul 6, 2021 01:045,3661,042,814,62516,161,0001,010,0002,260,992
10Jul 6, 2021 01:045,4301,073,558,39517,377,54102,269,184
11Jul 6, 2021 01:045,4531,075,876,94817,448,95302,244,608
12Jul 6, 2021 01:045,4741,076,277,31017,516,49002,240,512