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 listMay 15, 2023 06:14AmirAmirScore: 5,785Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2023 06:145,70643,167,20517,246,0001,014,0002,289,664
2May 15, 2023 06:145,75442,572,79317,391,0001,023,0002,289,664
3May 15, 2023 06:145,76145,472,53618,436,00002,273,280
4May 15, 2023 06:145,76443,972,34417,420,0001,024,0002,289,664
5May 15, 2023 06:145,77341,084,58016,423,0002,052,0002,289,664
6May 15, 2023 06:145,77840,789,82417,463,0001,027,0002,289,664
7May 15, 2023 06:145,78539,885,64117,485,0001,028,0002,289,664
8May 15, 2023 06:145,79742,623,28217,520,0001,030,0002,289,664
9May 15, 2023 06:145,79739,486,69518,551,00002,289,664
10May 15, 2023 06:146,09087,378,71719,486,93602,301,952
11May 15, 2023 06:146,10588,855,05519,537,34102,301,952
12May 15, 2023 06:146,14391,799,65319,656,14802,293,760