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 3, 2024 03:43jeffplaisancejeffplaisanceScore: 4,520Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 03:434,47930,387,27213,311,0001,023,0002,408,448
2Aug 3, 2024 03:434,48034,523,77513,313,0001,024,0002,281,472
3Aug 3, 2024 03:434,48834,519,81713,337,0001,025,0002,404,352
4Aug 3, 2024 03:434,49234,441,39813,349,0001,026,0002,281,472
5Aug 3, 2024 03:434,49736,586,96614,390,00002,281,472
6Aug 3, 2024 03:434,50035,463,28614,401,00002,404,352
7Aug 3, 2024 03:434,52035,754,67414,464,00002,400,256
8Aug 3, 2024 03:434,52432,065,64613,444,0001,034,0002,281,472
9Aug 3, 2024 03:434,53430,475,89913,474,0001,036,0002,400,256
10Aug 3, 2024 03:434,73790,558,99515,158,37602,174,976
11Aug 3, 2024 03:434,74699,259,54315,188,62102,256,896
12Aug 3, 2024 03:435,06588,707,87816,208,46202,306,048