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 28, 2021 21:34Egor SergeevEgor SergeevScore: 5,153Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 28, 2021 21:345,09339,621,90416,298,00002,502,656
2Jun 28, 2021 21:345,12530,281,01716,401,00002,494,464
3Jun 28, 2021 21:345,12729,933,52616,406,00002,502,656
4Jun 28, 2021 21:345,13147,587,71516,420,00002,277,376
5Jun 28, 2021 21:345,13136,407,26716,420,00002,486,272
6Jun 28, 2021 21:345,13336,807,10914,493,0001,932,0002,277,376
7Jun 28, 2021 21:345,15328,159,92516,491,00002,498,560
8Jun 28, 2021 21:345,15833,926,43616,504,00002,494,464
9Jun 28, 2021 21:345,15832,260,53416,505,00002,277,376
10Jun 28, 2021 21:345,38663,035,62417,233,71702,240,512
11Jun 28, 2021 21:345,393101,361,38817,258,27202,256,896
12Jun 28, 2021 21:345,42175,017,85617,347,92802,244,608