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 listJan 15, 2024 07:59matsuoka-601matsuoka-601Score: 5,511Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2024 07:595,43443,850,82915,344,0002,045,0002,273,280
2Jan 15, 2024 07:595,47638,485,59616,493,0001,030,0002,289,664
3Jan 15, 2024 07:595,48338,630,46016,512,0001,032,0002,519,040
4Jan 15, 2024 07:595,50144,645,47416,568,0001,035,0002,273,280
5Jan 15, 2024 07:595,50647,537,15916,582,0001,036,0002,289,664
6Jan 15, 2024 07:595,50635,012,86716,583,0001,036,0002,289,664
7Jan 15, 2024 07:595,51144,982,43117,634,00002,289,664
8Jan 15, 2024 07:595,51643,563,14316,613,0001,038,0002,367,488
9Jan 15, 2024 07:595,52334,337,86516,634,0001,039,0002,289,664
10Jan 15, 2024 07:595,68278,645,08418,181,12302,297,856
11Jan 15, 2024 07:595,69588,973,92318,225,46702,293,760
12Jan 15, 2024 07:595,70289,548,64718,247,51802,293,760