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

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 22:585,764619,737,35016,396,0002,049,0002,265,088
2May 16, 2021 22:585,7644,226,584,92414,563,0003,883,0002,260,992
3May 16, 2021 22:585,793755,715,02617,563,000975,0002,527,232
4May 16, 2021 22:585,796197,066,52618,547,00002,265,088
5May 16, 2021 22:585,796820,727,43418,547,00002,523,136
6May 16, 2021 22:585,8054,664,910,80914,666,0003,911,0002,523,136
7May 16, 2021 22:585,826446,671,57917,609,0001,035,0002,265,088
8May 16, 2021 22:585,8322,159,172,87618,662,00002,260,992
9May 16, 2021 22:585,8584,268,861,24415,786,0002,959,0002,260,992
10May 16, 2021 22:586,2274,012,749,78619,927,88002,277,376
11May 16, 2021 22:586,2284,055,656,66619,930,76902,281,472
12May 16, 2021 22:586,333158,711,42220,266,41802,285,568