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 20, 2022 13:21Eugene ZhydzetskiEugene ZhydzetskiScore: 5,922Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 20, 2022 13:215,89541,550,52617,871,000992,0002,527,232
2Aug 20, 2022 13:215,89943,607,06618,877,00002,535,424
3Aug 20, 2022 13:215,90147,023,84416,897,0001,987,0002,334,720
4Aug 20, 2022 13:215,90244,337,36218,885,00002,535,424
5Aug 20, 2022 13:215,90334,135,36617,897,000994,0002,334,720
6Aug 20, 2022 13:215,90850,021,73116,915,0001,990,0002,535,424
7Aug 20, 2022 13:215,92247,903,86816,956,0001,994,0002,334,720
8Aug 20, 2022 13:215,92390,879,18818,955,03502,244,608
9Aug 20, 2022 13:215,94544,667,41816,021,0003,004,0002,334,720
10Aug 20, 2022 13:215,95535,473,90517,050,0002,005,0002,334,720
11Aug 20, 2022 13:216,01585,959,16819,248,91002,232,320
12Aug 20, 2022 13:216,10297,891,37319,524,83202,236,416