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 27, 2021 10:10Ilya AniskovetsIlya AniskovetsScore: 5,329Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 27, 2021 10:105,27632,935,50014,897,0001,986,0002,383,872
2Oct 27, 2021 10:105,28947,298,56914,934,0001,991,0002,265,088
3Oct 27, 2021 10:105,29946,677,15515,960,000997,0002,392,064
4Oct 27, 2021 10:105,30238,856,01315,969,000998,0002,265,088
5Oct 27, 2021 10:105,30841,820,05615,988,000999,0002,265,088
6Oct 27, 2021 10:105,32144,495,84715,025,0002,003,0002,265,088
7Oct 27, 2021 10:105,32948,734,08416,050,0001,003,0002,383,872
8Oct 27, 2021 10:105,33534,096,57415,065,0002,008,0002,265,088
9Oct 27, 2021 10:105,34144,990,51916,086,0001,005,0002,265,088
10Oct 27, 2021 10:105,487100,159,26517,559,00102,281,472
11Oct 27, 2021 10:105,49995,305,15017,596,70002,281,472
12Oct 27, 2021 10:105,51695,522,64717,652,16802,281,472