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 listFeb 23, 2023 12:19DarkclainerDarkclainerScore: 5,086Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 23, 2023 12:195,04935,146,38615,149,0001,009,0002,269,184
2Feb 23, 2023 12:195,05945,798,87815,178,0001,011,0002,379,776
3Feb 23, 2023 12:195,07544,530,22314,211,0002,030,0002,269,184
4Feb 23, 2023 12:195,07837,480,10615,234,0001,015,0002,531,328
5Feb 23, 2023 12:195,08044,285,15915,241,0001,016,0002,531,328
6Feb 23, 2023 12:195,08149,304,02615,244,0001,016,0002,527,232
7Feb 23, 2023 12:195,08639,318,27214,241,0002,034,0002,371,584
8Feb 23, 2023 12:195,10339,600,16715,310,0001,020,0002,273,280
9Feb 23, 2023 12:195,10634,213,63115,318,0001,021,0002,265,088
10Feb 23, 2023 12:195,26783,603,14416,854,51802,232,320
11Feb 23, 2023 12:195,28667,592,21116,915,72702,236,416
12Feb 23, 2023 12:195,34082,390,42617,089,36702,273,280