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 listSep 7, 2022 02:19Yuriy LyfenkoYuriy LyfenkoScore: 4,443Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2022 02:194,428544,876,59013,158,0001,012,0002,523,136
2Sep 7, 2022 02:194,433538,811,10013,173,0001,013,0002,523,136
3Sep 7, 2022 02:194,434537,512,27712,162,0002,027,0002,523,136
4Sep 7, 2022 02:194,434540,555,53112,163,0002,027,0002,260,992
5Sep 7, 2022 02:194,436537,075,92614,196,00002,265,088
6Sep 7, 2022 02:194,442543,741,77113,199,0001,015,0002,523,136
7Sep 7, 2022 02:194,443542,689,60112,187,0002,031,0002,527,232
8Sep 7, 2022 02:194,444540,714,29614,222,00002,396,160
9Sep 7, 2022 02:194,457538,091,23713,245,0001,018,0002,523,136
10Sep 7, 2022 02:194,589584,072,86114,684,34702,281,472
11Sep 7, 2022 02:194,601567,744,12014,724,40302,244,608
12Sep 7, 2022 02:194,615574,611,53914,768,11002,273,280