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 11, 2022 12:35Eugene ZhydzetskiEugene ZhydzetskiScore: 13,453Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 11, 2022 12:3513,431107,383,66042,978,34502,232,320
2Aug 11, 2022 15:5513,441106,024,76343,011,94602,232,320
3Aug 11, 2022 16:2513,445120,059,06543,025,07102,248,704
4Aug 11, 2022 15:5513,452107,836,80243,045,79502,224,128
5Aug 11, 2022 16:2513,453109,009,91143,049,61002,232,320
6Aug 11, 2022 12:3513,455125,281,48643,055,78202,232,320
7Aug 11, 2022 16:2513,457119,170,20343,061,39402,232,320
8Aug 11, 2022 15:5513,474129,194,71243,116,00602,236,416
9Aug 11, 2022 12:3513,475122,726,43943,121,14702,236,416