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 listJul 13, 2021 19:50Yuriy LyfenkoYuriy LyfenkoScore: 5,672Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2021 19:505,637548,603,81915,031,0003,006,0002,330,624
2Jul 13, 2021 19:505,637539,704,27015,032,0003,006,0002,347,008
3Jul 13, 2021 19:505,642547,902,25515,046,0003,009,0002,342,912
4Jul 13, 2021 19:505,643584,005,13718,056,35002,252,800
5Jul 13, 2021 19:505,649545,191,10915,065,0003,013,0002,330,624
6Jul 13, 2021 19:505,655541,503,19015,081,0003,016,0002,334,720
7Jul 13, 2021 19:505,672540,485,72616,133,0002,016,0002,527,232
8Jul 13, 2021 19:505,682541,533,54916,163,0002,020,0002,330,624
9Jul 13, 2021 19:505,689568,751,22618,203,92902,256,896
10Jul 13, 2021 19:505,696541,573,56416,201,0002,025,0002,531,328
11Jul 13, 2021 19:505,699543,535,08814,184,0004,052,0002,519,040
12Jul 13, 2021 19:505,769581,969,29218,460,09502,252,800