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:10Yuriy LyfenkoYuriy LyfenkoScore: 5,108Success
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:105,07142,712,52314,199,0002,028,0002,265,088
2Jul 6, 2021 01:105,07537,606,46515,226,0001,015,0002,265,088
3Jul 6, 2021 01:105,08340,208,79715,250,0001,016,0002,387,968
4Jul 6, 2021 01:105,08437,630,15314,237,0002,033,0002,392,064
5Jul 6, 2021 01:105,08645,263,26014,241,0002,034,0002,387,968
6Jul 6, 2021 01:105,08634,442,38415,259,0001,017,0002,265,088
7Jul 6, 2021 01:105,10840,813,51816,344,00002,396,160
8Jul 6, 2021 01:105,12033,449,79515,360,0001,024,0002,265,088
9Jul 6, 2021 01:105,12736,243,81616,406,00002,383,872
10Jul 6, 2021 01:105,24076,832,69216,769,20202,269,184
11Jul 6, 2021 01:105,27479,132,64416,876,94102,285,568
12Jul 6, 2021 01:105,29186,353,05516,930,06602,277,376