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 listMay 23, 2021 22:31Yuriy LyfenkoYuriy LyfenkoScore: 5,144Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 22:315,10737,060,30915,320,0001,021,0002,396,160
2May 23, 2021 22:315,11141,616,61015,334,0001,022,0002,265,088
3May 23, 2021 22:315,11341,343,62015,340,0001,022,0002,527,232
4May 23, 2021 22:315,14244,398,29216,454,00002,396,160
5May 23, 2021 22:315,14238,044,44716,455,00002,265,088
6May 23, 2021 22:315,14333,852,17515,430,0001,028,0002,396,160
7May 23, 2021 22:315,14436,269,99915,433,0001,028,0002,265,088
8May 23, 2021 22:315,15131,402,58816,483,00002,400,256
9May 23, 2021 22:315,16132,290,62216,515,00002,260,992
10May 23, 2021 22:315,31371,228,15517,000,35202,281,472
11May 23, 2021 22:315,33390,576,23217,065,83102,277,376
12May 23, 2021 22:315,40475,621,37917,291,50802,277,376