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 listJun 2, 2021 13:53Yuriy LyfenkoYuriy LyfenkoScore: 5,058Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 13:535,01139,314,42114,032,0002,004,0002,400,256
2Jun 2, 2021 13:535,01333,160,37515,041,0001,002,0002,281,472
3Jun 2, 2021 13:535,01941,082,65714,054,0002,007,0002,400,256
4Jun 2, 2021 13:535,01942,643,04714,054,0002,007,0002,281,472
5Jun 2, 2021 13:535,02838,645,46015,083,0001,005,0002,404,352
6Jun 2, 2021 13:535,03638,725,05415,109,0001,007,0002,281,472
7Jun 2, 2021 13:535,05841,059,12414,281,0001,904,0002,281,472
8Jun 2, 2021 13:535,06146,392,00015,183,0001,012,0002,404,352
9Jun 2, 2021 13:535,08237,599,79114,229,0002,032,0002,281,472
10Jun 2, 2021 13:535,20378,660,24516,648,81102,297,856
11Jun 2, 2021 13:535,21987,935,27616,700,96302,293,760
12Jun 2, 2021 13:535,23581,295,59716,751,82802,289,664