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 6, 2021 01:33evgenikwtevgenikwtScore: 5,276Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 6, 2021 01:335,26645,128,72615,861,000991,0002,265,088
2Jun 6, 2021 01:335,26836,623,17315,865,000991,0002,265,088
3Jun 6, 2021 01:335,27033,891,62914,881,0001,984,0002,265,088
4Jun 6, 2021 01:335,27246,614,93715,877,000992,0002,383,872
5Jun 6, 2021 01:335,27344,454,89815,883,000992,0002,383,872
6Jun 6, 2021 01:335,27534,320,75114,894,0001,985,0002,265,088
7Jun 6, 2021 01:335,27643,066,02614,897,0001,986,0002,265,088
8Jun 6, 2021 01:335,30547,006,45414,978,0001,997,0002,265,088
9Jun 6, 2021 01:335,30543,433,44514,979,0001,997,0002,265,088
10Jun 6, 2021 01:335,51459,730,20217,644,89002,277,376
11Jun 6, 2021 01:335,60476,999,47717,933,10702,277,376
12Jun 6, 2021 01:335,67467,051,54718,156,73002,281,472