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 12, 2024 03:32Yuriy LyfenkoYuriy LyfenkoScore: 4,458Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 03:324,411643,579,38212,099,0002,016,0002,523,136
2Jun 12, 2024 03:324,421640,728,83212,126,0002,021,0002,260,992
3Jun 12, 2024 03:324,422641,600,67112,129,0002,021,0002,265,088
4Jun 12, 2024 03:324,439637,249,89113,192,0001,014,0002,260,992
5Jun 12, 2024 03:324,445638,235,27114,225,00002,396,160
6Jun 12, 2024 03:324,447641,190,69114,230,00002,519,040
7Jun 12, 2024 03:324,449641,037,58114,237,00002,265,088
8Jun 12, 2024 03:324,451640,045,34514,244,00002,260,992
9Jun 12, 2024 03:324,457633,419,82614,261,00002,523,136
10Jun 12, 2024 03:324,457635,892,43514,263,00002,527,232
11Jun 12, 2024 03:324,458636,859,32214,264,00002,387,968
12Jun 12, 2024 03:324,458644,368,00012,228,0002,038,0002,392,064
13Jun 12, 2024 03:324,458637,781,31214,266,00002,260,992
14Jun 12, 2024 03:324,460643,400,15014,271,00002,260,992
15Jun 12, 2024 03:324,468638,322,43714,296,00002,265,088
16Jun 12, 2024 03:324,485632,547,16213,327,0001,025,0002,265,088
17Jun 12, 2024 03:324,486643,357,75013,330,0001,025,0002,260,992
18Jun 12, 2024 03:324,487639,649,25114,358,00002,265,088
19Jun 12, 2024 03:324,636671,490,42114,836,00602,244,608
20Jun 12, 2024 03:324,643675,169,72014,858,78002,244,608
21Jun 12, 2024 03:324,648671,473,70614,874,74502,244,608
22Jun 12, 2024 03:324,649672,186,08814,877,38602,277,376
23Jun 12, 2024 03:324,656667,076,51814,900,54202,285,568
24Jun 12, 2024 03:324,662695,670,23214,917,47302,277,376