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 listJun 3, 2021 16:18Yuriy LyfenkoYuriy LyfenkoScore: 5,109Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 16:185,073546,140,75614,205,0002,029,0002,281,472
2Jun 3, 2021 16:185,078544,889,95715,236,0001,015,0002,273,280
3Jun 3, 2021 16:185,083539,015,85216,266,00002,273,280
4Jun 3, 2021 16:185,083538,039,37616,267,00002,281,472
5Jun 3, 2021 16:185,087541,580,13116,277,00002,273,280
6Jun 3, 2021 16:185,092539,800,19816,293,00002,273,280
7Jun 3, 2021 16:185,109538,815,18016,348,00002,404,352
8Jun 3, 2021 16:185,122542,179,56815,365,0001,024,0002,273,280
9Jun 3, 2021 16:185,133540,122,22516,427,00002,273,280
10Jun 3, 2021 16:185,211587,442,05316,675,62402,252,800
11Jun 3, 2021 16:185,219567,018,58016,701,41202,256,896
12Jun 3, 2021 16:185,255577,743,68216,817,00102,289,664