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 listApr 10, 2024 02:04Steve BronderSteve BronderScore: 5,734Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2024 02:045,68142,697,63517,170,0001,010,0002,506,752
2Apr 10, 2024 02:045,68841,925,84416,179,0002,022,0002,293,760
3Apr 10, 2024 02:045,70346,290,97716,221,0002,027,0002,293,760
4Apr 10, 2024 02:045,71842,389,86716,264,0002,033,0002,293,760
5Apr 10, 2024 02:045,72940,404,65316,297,0002,037,0002,293,760
6Apr 10, 2024 02:045,73341,161,29316,308,0002,038,0002,293,760
7Apr 10, 2024 02:045,73441,504,53816,311,0002,038,0002,293,760
8Apr 10, 2024 02:045,73840,562,97116,321,0002,040,0002,510,848
9Apr 10, 2024 02:045,75639,752,28916,374,0002,046,0002,506,752
10Apr 10, 2024 02:045,91699,545,55118,930,23502,285,568
11Apr 10, 2024 02:045,94789,900,08419,030,60902,273,280
12Apr 10, 2024 02:045,96094,753,37019,072,85702,277,376