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 16, 2021 19:04Yuriy LyfenkoYuriy LyfenkoScore: 5,443Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 19:045,4181,978,040,64014,447,0002,889,0002,523,136
2May 16, 2021 19:045,426861,095,42614,469,0002,893,0002,519,040
3May 16, 2021 19:045,4275,005,689,43015,438,0001,929,0002,260,992
4May 16, 2021 19:045,4313,767,639,52514,484,0002,896,0002,523,136
5May 16, 2021 19:045,435652,245,30116,426,000966,0002,519,040
6May 16, 2021 19:045,4423,369,215,93116,447,000967,0002,260,992
7May 16, 2021 19:045,4432,359,198,21513,547,0003,870,0002,523,136
8May 16, 2021 19:045,4514,720,466,53916,475,000969,0002,523,136
9May 16, 2021 19:045,4531,644,561,29117,451,00002,260,992
10May 16, 2021 19:045,6302,667,271,39018,015,52402,277,376
11May 16, 2021 19:045,6443,743,336,72418,059,55402,277,376
12May 16, 2021 19:045,6561,298,283,21418,100,23302,285,568