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 listFeb 21, 2023 11:56DarkclainerDarkclainerScore: 5,338Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 21, 2023 11:565,31441,271,95215,006,0002,000,0002,371,584
2Feb 21, 2023 11:565,31737,924,14616,015,0001,000,0002,269,184
3Feb 21, 2023 11:565,32344,671,20515,029,0002,003,0002,375,680
4Feb 21, 2023 11:565,32533,742,70716,039,0001,002,0002,269,184
5Feb 21, 2023 11:565,32647,058,54416,040,0001,002,0002,531,328
6Feb 21, 2023 11:565,33647,274,75516,070,0001,004,0002,269,184
7Feb 21, 2023 11:565,33837,763,71616,079,0001,004,0002,269,184
8Feb 21, 2023 11:565,34536,473,43715,091,0002,012,0002,269,184
9Feb 21, 2023 11:565,35546,606,53515,120,0002,016,0002,531,328
10Feb 21, 2023 11:565,54581,472,39017,745,50602,244,608
11Feb 21, 2023 11:565,55663,275,52517,780,29502,248,704
12Feb 21, 2023 11:565,57393,965,36417,834,50102,244,608