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 17:18Yuriy LyfenkoYuriy LyfenkoScore: 5,692Success
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 17:185,64851,686,34615,062,0003,012,0002,519,040
2May 11, 2021 17:185,65748,086,79217,096,0001,005,0002,519,040
3May 11, 2021 17:185,66637,153,00116,117,0002,014,0002,519,040
4May 11, 2021 17:185,67946,151,15916,153,0002,019,0002,260,992
5May 11, 2021 17:185,68145,067,56316,159,0002,019,0002,510,848
6May 11, 2021 17:185,68350,090,60716,165,0002,020,0002,519,040
7May 11, 2021 17:185,69242,378,46217,202,0001,011,0002,387,968
8May 11, 2021 17:185,69344,853,41916,192,0002,024,0002,519,040
9May 11, 2021 17:185,71045,436,40316,241,0002,030,0002,392,064
10May 11, 2021 17:185,90556,227,26018,896,67002,273,280
11May 11, 2021 17:185,90997,430,27418,909,87502,277,376
12May 11, 2021 17:185,92585,837,52718,960,87402,273,280