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 28, 2021 15:04Yuriy LyfenkoYuriy LyfenkoScore: 5,279Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 15:045,26740,025,60114,871,0001,982,0002,510,848
2May 28, 2021 15:045,26844,802,70215,866,000991,0002,269,184
3May 28, 2021 15:045,27141,657,08115,874,000992,0002,527,232
4May 28, 2021 15:045,27144,433,54915,876,000992,0002,265,088
5May 28, 2021 15:045,27147,925,69415,876,000992,0002,387,968
6May 28, 2021 15:045,27240,955,16014,886,0001,984,0002,265,088
7May 28, 2021 15:045,27945,535,69016,892,00002,396,160
8May 28, 2021 15:045,28235,148,68414,913,0001,988,0002,265,088
9May 28, 2021 15:045,30041,470,75814,966,0001,995,0002,265,088
10May 28, 2021 15:045,43978,446,48017,405,93902,277,376
11May 28, 2021 15:045,45271,652,25217,447,89002,273,280
12May 28, 2021 15:045,47248,037,74517,510,36002,277,376