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 13, 2021 22:32evgenikwtevgenikwtScore: 5,318Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2021 22:325,28341,250,11114,918,0001,989,0002,265,088
2Jun 13, 2021 22:325,28549,045,71314,923,0001,989,0002,379,776
3Jun 13, 2021 22:325,28643,771,17014,926,0001,990,0002,527,232
4Jun 13, 2021 22:325,29747,508,75314,957,0001,994,0002,269,184
5Jun 13, 2021 22:325,30234,585,14215,968,000998,0002,265,088
6Jun 13, 2021 22:325,30942,862,11015,991,000999,0002,502,656
7Jun 13, 2021 22:325,31848,648,32316,017,0001,001,0002,396,160
8Jun 13, 2021 22:325,32245,373,96216,030,0001,001,0002,396,160
9Jun 13, 2021 22:325,33337,389,85015,059,0002,007,0002,392,064
10Jun 13, 2021 22:325,50791,092,17217,623,65302,277,376
11Jun 13, 2021 22:325,51062,741,65217,631,22102,281,472
12Jun 13, 2021 22:325,52078,967,86517,662,66002,281,472