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 listOct 7, 2023 16:46Pavel ZagrebinPavel ZagrebinScore: 5,299Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 7, 2023 16:465,26939,373,80815,870,000991,0002,383,872
2Oct 7, 2023 16:465,27143,800,70714,884,0001,984,0002,392,064
3Oct 7, 2023 16:465,27841,083,60014,904,0001,987,0002,265,088
4Oct 7, 2023 16:465,28544,271,57814,922,0001,989,0002,387,968
5Oct 7, 2023 16:465,28634,388,94214,926,0001,990,0002,379,776
6Oct 7, 2023 16:465,28943,443,85815,930,000995,0002,265,088
7Oct 7, 2023 16:465,29942,760,10115,959,000997,0002,383,872
8Oct 7, 2023 16:465,30241,248,69314,971,0001,996,0002,387,968
9Oct 7, 2023 16:465,35839,978,66716,138,0001,008,0002,392,064
10Oct 7, 2023 16:465,53360,463,47817,704,62902,285,568
11Oct 7, 2023 16:465,58576,886,36417,870,81702,273,280
12Oct 7, 2023 16:465,58675,581,51417,876,15702,281,472