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 17, 2021 22:49Yuriy LyfenkoYuriy LyfenkoScore: 5,527Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 22:495,4672,520,937,53015,551,0001,943,0002,392,064
2May 17, 2021 22:495,4752,160,511,62615,574,0001,946,0002,260,992
3May 17, 2021 22:495,4831,070,708,92615,597,0001,949,0002,523,136
4May 17, 2021 22:495,4831,730,540,22417,546,00002,523,136
5May 17, 2021 22:495,4891,542,852,75516,533,0001,033,0002,523,136
6May 17, 2021 22:495,5212,989,885,10017,666,00002,260,992
7May 17, 2021 22:495,5272,881,013,98015,722,0001,965,0002,523,136
8May 17, 2021 22:495,5311,886,239,60715,734,0001,966,0002,392,064
9May 17, 2021 22:495,5332,123,120,94015,738,0001,967,0002,519,040
10May 17, 2021 22:495,663899,678,72918,122,99802,277,376
11May 17, 2021 22:495,668622,958,60418,138,88502,277,376
12May 17, 2021 22:495,7001,997,013,79518,238,92102,281,472