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 listJun 19, 2023 21:21Ulyanov AlekseyUlyanov AlekseyScore: 5,723Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2023 21:215,65244,485,26917,082,0001,004,0002,289,664
2Jun 19, 2023 21:215,67939,229,84516,155,0002,019,0002,289,664
3Jun 19, 2023 21:215,68340,036,98016,167,0002,020,0002,269,184
4Jun 19, 2023 21:215,69340,925,80816,194,0002,024,0002,289,664
5Jun 19, 2023 21:215,71637,986,34816,259,0002,032,0002,289,664
6Jun 19, 2023 21:215,71740,953,78716,263,0002,032,0002,289,664
7Jun 19, 2023 21:215,72341,120,97016,279,0002,034,0002,367,488
8Jun 19, 2023 21:215,73539,862,75116,314,0002,039,0002,281,472
9Jun 19, 2023 21:215,73941,124,25216,325,0002,040,0002,289,664
10Jun 19, 2023 21:215,85193,052,95018,724,50402,293,760
11Jun 19, 2023 21:215,88598,083,78518,832,64202,297,856
12Jun 19, 2023 21:215,89587,874,34218,864,60302,289,664