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 listAug 28, 2023 17:55Ilya AniskovetsIlya AniskovetsScore: 5,285Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 28, 2023 17:555,27134,121,73914,882,0001,984,0002,396,160
2Aug 28, 2023 17:555,27146,922,58814,883,0001,984,0002,265,088
3Aug 28, 2023 17:555,27344,430,76015,880,000992,0002,387,968
4Aug 28, 2023 17:555,27440,145,67715,886,000992,0002,387,968
5Aug 28, 2023 17:555,27646,687,26514,897,0001,986,0002,392,064
6Aug 28, 2023 17:555,28048,685,56816,897,00002,387,968
7Aug 28, 2023 17:555,28540,187,56515,856,0001,057,0002,387,968
8Aug 28, 2023 17:555,29736,405,17315,954,000997,0002,265,088
9Aug 28, 2023 17:555,30642,685,56114,983,0001,997,0002,387,968
10Aug 28, 2023 17:555,47298,968,61317,509,98502,281,472
11Aug 28, 2023 17:555,48378,184,96317,544,04402,289,664
12Aug 28, 2023 17:555,50293,864,54017,605,19502,281,472