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 listJul 24, 2024 01:05emily graceemily graceScore: 4,682Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2024 01:054,66037,718,29812,923,0001,988,0002,269,184
2Jul 24, 2024 01:054,66233,759,25612,930,0001,989,0002,289,664
3Jul 24, 2024 01:054,67133,385,95612,955,0001,993,0002,289,664
4Jul 24, 2024 01:054,67246,708,48312,958,0001,993,0002,273,280
5Jul 24, 2024 01:054,67339,268,08312,960,0001,993,0002,289,664
6Jul 24, 2024 01:054,67431,555,58212,964,0001,994,0002,277,376
7Jul 24, 2024 01:054,68234,476,14412,985,0001,997,0002,289,664
8Jul 24, 2024 01:054,70242,721,54913,040,0002,006,0002,289,664
9Jul 24, 2024 01:054,71635,204,55213,078,0002,012,0002,289,664
10Jul 24, 2024 01:054,94383,042,28215,818,18502,310,144
11Jul 24, 2024 01:054,94492,735,37715,822,24402,301,952
12Jul 24, 2024 01:054,97081,839,36815,902,89602,293,760