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 15:36Eugene ZhydzetskiEugene ZhydzetskiScore: 5,824Success
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 15:365,77837,782,91617,463,0001,027,0002,334,720
2Aug 22, 2022 15:365,79443,000,70417,512,0001,030,0002,334,720
3Aug 22, 2022 15:365,80646,216,56718,580,00002,535,424
4Aug 22, 2022 15:365,81443,999,72217,571,0001,033,0002,334,720
5Aug 22, 2022 15:365,81743,975,63618,615,00002,334,720
6Aug 22, 2022 15:365,81845,170,72117,582,0001,034,0002,535,424
7Aug 22, 2022 15:365,82441,548,92418,637,00002,285,568
8Aug 22, 2022 15:365,83646,247,73918,676,00002,334,720
9Aug 22, 2022 15:365,84942,729,59118,716,00002,334,720
10Aug 22, 2022 15:365,879103,410,99318,811,60602,240,512
11Aug 22, 2022 15:365,94091,661,98619,008,62802,240,512
12Aug 22, 2022 15:365,95387,234,86219,049,95802,244,608