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 22, 2021 05:04Ilya AniskovetsIlya AniskovetsScore: 5,484Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 22, 2021 05:045,43442,862,04116,366,0001,022,0002,273,280
2Sep 22, 2021 05:045,44733,317,10016,405,0001,025,0002,273,280
3Sep 22, 2021 05:045,45336,755,79617,451,00002,293,760
4Sep 22, 2021 05:045,46143,474,37716,448,0001,028,0002,531,328
5Sep 22, 2021 05:045,46340,259,53916,452,0001,028,0002,531,328
6Sep 22, 2021 05:045,47937,153,58916,501,0001,031,0002,293,760
7Sep 22, 2021 05:045,48443,659,08916,518,0001,032,0002,293,760
8Sep 22, 2021 05:045,49542,778,98116,551,0001,034,0002,293,760
9Sep 22, 2021 05:045,53345,948,46816,666,0001,041,0002,293,760
10Sep 22, 2021 05:045,65068,492,51018,081,18702,306,048
11Sep 22, 2021 05:045,65667,028,43118,098,78702,297,856
12Sep 22, 2021 05:045,66589,820,34818,127,46902,306,048