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 5, 2021 17:11evgenikwtevgenikwtScore: 5,277Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2021 17:115,26546,096,74316,849,00002,523,136
2Jun 5, 2021 17:115,26833,668,90615,868,000991,0002,383,872
3Jun 5, 2021 17:115,27146,971,89616,868,00002,265,088
4Jun 5, 2021 17:115,27346,712,22114,890,0001,985,0002,387,968
5Jun 5, 2021 17:115,27537,428,56215,887,000992,0002,265,088
6Jun 5, 2021 17:115,27643,165,38714,898,0001,986,0002,265,088
7Jun 5, 2021 17:115,27740,957,89615,894,000993,0002,396,160
8Jun 5, 2021 17:115,29343,068,00614,945,0001,992,0002,392,064
9Jun 5, 2021 17:115,29845,604,14314,959,0001,994,0002,387,968
10Jun 5, 2021 17:115,47868,065,39817,528,75202,281,472
11Jun 5, 2021 17:115,48068,638,43417,534,57502,281,472
12Jun 5, 2021 17:115,49088,149,81217,568,65102,285,568