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 30, 2021 17:35Yuriy LyfenkoYuriy LyfenkoScore: 5,269Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 17:355,19037,353,61215,570,0001,038,0002,408,448
2May 30, 2021 17:355,21048,352,94416,671,00002,400,256
3May 30, 2021 17:355,22245,034,79816,709,00002,281,472
4May 30, 2021 17:355,24443,750,41316,780,00002,281,472
5May 30, 2021 17:355,26339,257,10715,851,000990,0002,281,472
6May 30, 2021 17:355,26630,988,55515,859,000991,0002,519,040
7May 30, 2021 17:355,26942,180,88714,877,0001,983,0002,281,472
8May 30, 2021 17:355,27334,416,88314,889,0001,985,0002,281,472
9May 30, 2021 17:355,27647,336,58415,889,000993,0002,281,472
10May 30, 2021 17:355,38083,918,46317,214,81402,293,760
11May 30, 2021 17:355,39793,890,81017,269,01102,289,664
12May 30, 2021 17:355,41164,270,53217,314,70802,289,664