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 23, 2021 17:39Yuriy LyfenkoYuriy LyfenkoScore: 5,534Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 17:395,47633,363,16216,493,0001,030,0002,387,968
2May 23, 2021 17:395,47843,286,33416,497,0001,031,0002,265,088
3May 23, 2021 17:395,49137,755,06617,572,00002,519,040
4May 23, 2021 17:395,49338,434,27816,544,0001,034,0002,392,064
5May 23, 2021 17:395,50141,598,38217,604,00002,265,088
6May 23, 2021 17:395,52041,587,40116,626,0001,039,0002,392,064
7May 23, 2021 17:395,53444,016,17917,708,00002,392,064
8May 23, 2021 17:395,57243,035,39416,839,000990,0002,392,064
9May 23, 2021 17:395,58848,753,69817,881,00002,265,088
10May 23, 2021 17:395,75386,926,09418,410,52702,273,280
11May 23, 2021 17:395,76977,251,99218,460,68902,273,280
12May 23, 2021 17:395,80074,568,54818,560,90202,277,376