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 13, 2021 22:16Yuriy LyfenkoYuriy LyfenkoScore: 5,481Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 22:165,42042,583,29516,324,0001,020,0002,392,064
2May 13, 2021 22:165,43243,379,57116,359,0001,022,0002,260,992
3May 13, 2021 22:165,43637,679,32514,325,0003,069,0002,523,136
4May 13, 2021 22:165,44742,603,82715,381,0002,050,0002,396,160
5May 13, 2021 22:165,45540,748,29016,429,0001,026,0002,527,232
6May 13, 2021 22:165,46439,022,95116,458,0001,028,0002,392,064
7May 13, 2021 22:165,48137,217,81417,538,00002,265,088
8May 13, 2021 22:165,49535,384,19216,550,0001,034,0002,387,968
9May 13, 2021 22:165,58451,219,09916,877,000992,0002,523,136
10May 13, 2021 22:165,63984,223,62518,045,56602,277,376
11May 13, 2021 22:165,687104,116,16118,199,50602,277,376
12May 13, 2021 22:165,71680,130,84218,291,03602,281,472