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, 2022 09:15someone12469someone12469Score: 5,204Success
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, 2022 09:155,17744,068,13516,566,00002,306,048
2Aug 3, 2022 09:155,18029,094,67716,577,00002,502,656
3Aug 3, 2022 09:155,18734,225,62016,598,00002,494,464
4Aug 3, 2022 09:155,18737,810,23316,599,00002,490,368
5Aug 3, 2022 09:155,19442,091,52316,621,00002,498,560
6Aug 3, 2022 09:155,19746,006,35716,630,00002,306,048
7Aug 3, 2022 09:155,20440,261,35416,653,00002,306,048
8Aug 3, 2022 09:155,21943,005,69816,701,00002,306,048
9Aug 3, 2022 09:155,27840,904,86515,897,000993,0002,306,048
10Aug 3, 2022 09:155,43148,458,19517,377,92802,232,320
11Aug 3, 2022 09:155,444109,532,68617,419,86902,256,896
12Aug 3, 2022 09:155,46166,793,62717,475,32902,256,896