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 listMar 16, 2024 23:13KonstantinKonstantinScore: 5,677Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 16, 2024 23:135,64247,050,44116,048,0002,006,0002,265,088
2Mar 16, 2024 23:135,65337,060,20617,085,0001,005,0002,265,088
3Mar 16, 2024 23:135,65445,203,87616,083,0002,010,0002,265,088
4Mar 16, 2024 23:135,65942,019,81417,104,0001,006,0002,379,776
5Mar 16, 2024 23:135,67333,090,60217,144,0001,008,0002,523,136
6Mar 16, 2024 23:135,67438,324,91516,140,0002,017,0002,265,088
7Mar 16, 2024 23:135,67736,618,78516,148,0002,018,0002,265,088
8Mar 16, 2024 23:135,67747,030,82816,148,0002,018,0002,265,088
9Mar 16, 2024 23:135,68148,127,33616,160,0002,020,0002,379,776
10Mar 16, 2024 23:135,87189,124,42318,787,27702,273,280
11Mar 16, 2024 23:135,88593,891,52618,830,69802,289,664
12Mar 16, 2024 23:135,89189,018,51418,852,75002,293,760