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 11, 2021 19:34Yuriy LyfenkoYuriy LyfenkoScore: 5,587Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 19:345,53546,025,78015,629,0002,083,0002,519,040
2May 11, 2021 19:345,58145,504,58416,868,000992,0002,506,752
3May 11, 2021 19:345,58336,219,61217,867,00002,396,160
4May 11, 2021 19:345,58435,678,68516,878,000992,0002,519,040
5May 11, 2021 19:345,58541,525,27216,879,000992,0002,519,040
6May 11, 2021 19:345,58645,901,40915,890,0001,986,0002,519,040
7May 11, 2021 19:345,58741,469,88216,886,000993,0002,506,752
8May 11, 2021 19:345,58935,046,55316,892,000993,0002,519,040
9May 11, 2021 19:345,59242,209,78415,905,0001,988,0002,510,848
10May 11, 2021 19:345,75888,398,93318,425,35302,277,376
11May 11, 2021 19:345,78478,656,00418,509,33102,289,664
12May 11, 2021 19:345,79164,477,65618,532,41302,273,280