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 listSep 29, 2021 15:17Anton KrylovAnton KrylovScore: 5,998Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 29, 2021 15:175,92235,341,66416,955,0001,994,0002,306,048
2Sep 29, 2021 15:175,94234,855,62618,014,0001,000,0002,334,720
3Sep 29, 2021 15:175,94646,924,44218,025,0001,001,0002,334,720
4Sep 29, 2021 15:175,96243,651,66918,074,0001,004,0002,334,720
5Sep 29, 2021 15:175,97845,818,09818,123,0001,006,0002,306,048
6Sep 29, 2021 15:175,99142,515,54117,153,0002,018,0002,334,720
7Sep 29, 2021 15:175,99844,941,23217,172,0002,020,0002,334,720
8Sep 29, 2021 15:176,00544,243,36817,194,0002,022,0002,334,720
9Sep 29, 2021 15:176,02936,686,83216,247,0003,046,0002,334,720
10Sep 29, 2021 15:176,07062,770,66819,423,07702,269,184
11Sep 29, 2021 15:176,14991,081,09819,675,75102,273,280
12Sep 29, 2021 15:176,16287,606,02119,718,90902,260,992