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 19, 2022 18:17Eugene ZhydzetskiEugene ZhydzetskiScore: 5,915Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 19, 2022 18:175,89454,909,68516,877,0001,985,0002,531,328
2Aug 19, 2022 18:175,89940,519,89118,877,00002,535,424
3Aug 19, 2022 18:175,90286,052,15918,885,12002,236,416
4Aug 19, 2022 18:175,90242,617,74317,893,000994,0002,535,424
5Aug 19, 2022 18:175,90345,481,78516,900,0001,988,0002,334,720
6Aug 19, 2022 18:175,91343,295,53316,930,0001,991,0002,400,256
7Aug 19, 2022 18:175,91544,065,55316,935,0001,992,0002,334,720
8Aug 19, 2022 18:175,93333,566,42516,988,0001,998,0002,334,720
9Aug 19, 2022 18:175,93746,675,20117,998,000999,0002,334,720
10Aug 19, 2022 18:175,95346,282,01717,046,0002,005,0002,334,720
11Aug 19, 2022 18:176,02992,756,50319,291,90102,244,608
12Aug 19, 2022 18:176,10982,540,07519,548,75702,240,512