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 4, 2021 23:54evgenikwtevgenikwtScore: 5,292Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 4, 2021 23:545,26841,598,48815,868,000991,0002,265,088
2Jun 4, 2021 23:545,27240,710,88514,887,0001,984,0002,392,064
3Jun 4, 2021 23:545,27445,999,48214,892,0001,985,0002,375,680
4Jun 4, 2021 23:545,27939,244,83514,906,0001,987,0002,265,088
5Jun 4, 2021 23:545,27945,895,64015,900,000993,0002,265,088
6Jun 4, 2021 23:545,29143,043,18815,935,000995,0002,506,752
7Jun 4, 2021 23:545,29233,295,89814,942,0001,992,0002,392,064
8Jun 4, 2021 23:545,30147,346,69015,967,000997,0002,383,872
9Jun 4, 2021 23:545,30541,711,37815,978,000998,0002,506,752
10Jun 4, 2021 23:545,47581,008,65517,520,05802,285,568
11Jun 4, 2021 23:545,48482,934,92317,547,54802,281,472
12Jun 4, 2021 23:545,50680,495,07417,618,97002,289,664