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 listJan 15, 2024 16:34matsuoka-601matsuoka-601Score: 4,843Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2024 16:274,80738,049,14613,332,0002,051,0002,285,568
2Jan 15, 2024 16:274,81040,183,77913,340,0002,052,0002,531,328
3Jan 15, 2024 16:344,81134,632,10613,342,0002,052,0002,527,232
4Jan 15, 2024 16:274,81337,158,92314,375,0001,026,0002,285,568
5Jan 15, 2024 16:274,81934,806,03615,421,00002,514,944
6Jan 15, 2024 16:274,82742,874,27114,416,0001,029,0002,285,568
7Jan 15, 2024 16:344,82731,475,06114,418,0001,029,0002,285,568
8Jan 15, 2024 16:274,82937,525,61814,424,0001,030,0002,285,568
9Jan 15, 2024 16:344,83031,525,20315,456,00002,285,568
10Jan 15, 2024 16:344,83131,729,68813,397,0002,061,0002,285,568
11Jan 15, 2024 16:344,83731,696,08814,447,0001,031,0002,285,568
12Jan 15, 2024 16:274,84134,791,79714,459,0001,032,0002,531,328
13Jan 15, 2024 16:344,84332,355,24613,430,0002,066,0002,285,568
14Jan 15, 2024 16:344,84446,374,11314,469,0001,033,0002,527,232
15Jan 15, 2024 16:274,84532,632,70414,472,0001,033,0002,277,376
16Jan 15, 2024 16:274,84932,820,78614,484,0001,034,0002,285,568
17Jan 15, 2024 16:344,86131,417,53915,556,00002,285,568
18Jan 15, 2024 16:344,86532,707,06114,531,0001,037,0002,285,568
19Jan 15, 2024 16:275,05276,772,34116,164,85102,179,072
20Jan 15, 2024 16:345,06476,447,50716,206,08502,179,072
21Jan 15, 2024 16:345,07587,448,29316,241,48702,293,760
22Jan 15, 2024 16:275,08461,732,56716,269,14302,297,856
23Jan 15, 2024 16:345,09565,620,35616,304,02302,297,856
24Jan 15, 2024 16:275,10164,904,65516,323,72402,306,048