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 06:26Yuriy LyfenkoYuriy LyfenkoScore: 5,081Success
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 06:265,02533,365,26614,070,0002,010,0002,265,088
2May 28, 2021 06:265,05731,357,43015,171,0001,011,0002,392,064
3May 28, 2021 06:265,05746,099,68014,160,0002,022,0002,387,968
4May 28, 2021 06:265,06434,556,76914,179,0002,025,0002,392,064
5May 28, 2021 06:265,07034,067,64615,211,0001,014,0002,265,088
6May 28, 2021 06:265,07136,508,48014,198,0002,028,0002,265,088
7May 28, 2021 06:265,08148,604,87514,228,0002,032,0002,400,256
8May 28, 2021 06:265,08233,779,59615,245,0001,016,0002,265,088
9May 28, 2021 06:265,10440,340,53416,333,00002,482,176
10May 28, 2021 06:265,24063,345,06716,767,53002,281,472
11May 28, 2021 06:265,26575,715,59216,847,26202,277,376
12May 28, 2021 06:265,27455,925,98416,876,62802,281,472