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 27, 2021 16:41Yuriy LyfenkoYuriy LyfenkoScore: 5,274Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 16:415,20633,610,65915,618,0001,041,0002,285,568
2May 27, 2021 16:415,21042,459,46616,672,00002,281,472
3May 27, 2021 16:415,21443,600,36215,643,0001,042,0002,281,472
4May 27, 2021 16:415,23245,459,67016,742,00002,289,664
5May 27, 2021 16:415,26941,428,64015,871,000991,0002,277,376
6May 27, 2021 16:415,27142,041,41314,882,0001,984,0002,273,280
7May 27, 2021 16:415,27445,527,33316,876,00002,289,664
8May 27, 2021 16:415,27744,204,42015,892,000993,0002,273,280
9May 27, 2021 16:415,28143,210,90114,912,0001,988,0002,281,472
10May 27, 2021 16:415,42544,305,42717,358,99402,301,952
11May 27, 2021 16:415,42685,384,04117,362,57402,297,856
12May 27, 2021 16:415,42951,663,21817,372,98502,293,760