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 20, 2021 19:26Andrey TsvetkovAndrey TsvetkovScore: 5,775Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2021 19:265,73946,256,99415,305,0003,061,0002,334,720
2Jun 20, 2021 19:265,74642,189,96716,345,0002,043,0002,334,720
3Jun 20, 2021 19:265,75339,407,66116,363,0002,045,0002,334,720
4Jun 20, 2021 19:265,75534,991,12315,346,0003,069,0002,314,240
5Jun 20, 2021 19:265,77242,039,50416,418,0002,052,0002,334,720
6Jun 20, 2021 19:265,77240,687,50915,393,0003,078,0002,318,336
7Jun 20, 2021 19:265,77538,501,88816,427,0002,053,0002,375,680
8Jun 20, 2021 19:265,77649,070,28516,429,0002,053,0002,523,136
9Jun 20, 2021 19:265,77885,053,33918,490,56902,240,512
10Jun 20, 2021 19:265,78240,959,03518,503,00002,371,584
11Jun 20, 2021 19:265,79297,733,13218,534,92702,228,224
12Jun 20, 2021 19:265,80787,634,81718,581,47102,244,608