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 22, 2022 09:59Eugene ZhydzetskiEugene ZhydzetskiScore: 6,019Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 22, 2022 09:595,98547,182,65318,144,0001,008,0002,334,720
2Aug 22, 2022 09:595,98741,166,81917,141,0002,016,0002,334,720
3Aug 22, 2022 09:595,99841,014,28219,193,00002,535,424
4Aug 22, 2022 09:596,00640,172,52517,197,0002,023,0002,387,968
5Aug 22, 2022 09:596,01642,931,80518,238,0001,013,0002,334,720
6Aug 22, 2022 09:596,01645,649,77418,238,0001,013,0002,334,720
7Aug 22, 2022 09:596,01951,304,20218,247,0001,013,0002,535,424
8Aug 22, 2022 09:596,02234,970,94017,242,0002,028,0002,531,328
9Aug 22, 2022 09:596,03840,098,92917,288,0002,033,0002,330,624
10Aug 22, 2022 09:596,04282,857,87919,334,46102,236,416
11Aug 22, 2022 09:596,06492,565,90119,403,35802,248,704
12Aug 22, 2022 09:596,07892,178,46819,448,80802,248,704