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 11, 2021 17:40Yuriy LyfenkoYuriy LyfenkoScore: 5,589Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 17:405,58135,020,99916,867,000992,0002,519,040
2May 11, 2021 17:405,58346,413,03116,875,000992,0002,387,968
3May 11, 2021 17:405,58535,181,52817,872,00002,519,040
4May 11, 2021 17:405,58645,880,60617,874,00002,519,040
5May 11, 2021 17:405,58632,400,73517,875,00002,519,040
6May 11, 2021 17:405,58848,453,89615,895,0001,986,0002,519,040
7May 11, 2021 17:405,58946,557,38414,904,0002,980,0002,387,968
8May 11, 2021 17:405,59246,150,16715,907,0001,988,0002,396,160
9May 11, 2021 17:405,59846,043,11315,923,0001,990,0002,265,088
10May 11, 2021 17:405,98594,226,80319,152,32502,281,472
11May 11, 2021 17:405,99182,995,58019,171,45902,277,376
12May 11, 2021 17:406,05189,425,53419,363,53602,277,376