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 29, 2021 23:21Yuriy LyfenkoYuriy LyfenkoScore: 5,063Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 23:215,02136,780,41314,059,0002,008,0002,265,088
2May 29, 2021 23:215,02233,006,50814,062,0002,008,0002,265,088
3May 29, 2021 23:215,02233,457,43215,067,0001,004,0002,265,088
4May 29, 2021 23:215,02545,426,74515,075,0001,005,0002,379,776
5May 29, 2021 23:215,03341,635,66014,092,0002,013,0002,379,776
6May 29, 2021 23:215,05243,134,02115,156,0001,010,0002,265,088
7May 29, 2021 23:215,06328,793,35415,188,0001,012,0002,265,088
8May 29, 2021 23:215,06347,688,15415,191,0001,012,0002,265,088
9May 29, 2021 23:215,06646,171,37515,198,0001,013,0002,265,088
10May 29, 2021 23:215,21572,102,83816,689,53602,260,992
11May 29, 2021 23:215,22282,216,44016,709,20702,273,280
12May 29, 2021 23:215,24475,917,96916,779,76202,269,184