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 listJun 4, 2021 23:39evgenikwtevgenikwtScore: 5,294Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 4, 2021 23:395,27346,420,12515,880,000992,0002,265,088
2Jun 4, 2021 23:395,27444,219,48615,885,000992,0002,265,088
3Jun 4, 2021 23:395,27643,170,37115,890,000993,0002,265,088
4Jun 4, 2021 23:395,28036,583,43715,903,000993,0002,265,088
5Jun 4, 2021 23:395,28342,546,22814,917,0001,988,0002,387,968
6Jun 4, 2021 23:395,29246,704,38815,937,000996,0002,383,872
7Jun 4, 2021 23:395,29444,724,02114,948,0001,993,0002,265,088
8Jun 4, 2021 23:395,29747,133,10515,952,000997,0002,387,968
9Jun 4, 2021 23:395,30144,057,85715,967,000997,0002,265,088
10Jun 4, 2021 23:395,54058,123,34717,728,49602,273,280
11Jun 4, 2021 23:395,54163,103,31417,732,49802,273,280
12Jun 4, 2021 23:395,58580,810,13417,871,09202,277,376