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 listJul 23, 2021 20:18Adam FolwarcznyAdam FolwarcznyScore: 5,608Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 23, 2021 20:185,58446,583,10816,878,000992,0002,379,776
2Jul 23, 2021 20:185,58645,062,84515,888,0001,986,0002,527,232
3Jul 23, 2021 20:185,58645,599,08115,889,0001,986,0002,392,064
4Jul 23, 2021 20:185,58840,108,06916,887,000993,0002,387,968
5Jul 23, 2021 20:185,58836,413,35716,889,000993,0002,265,088
6Jul 23, 2021 20:185,59143,674,08715,904,0001,988,0002,265,088
7Jul 23, 2021 20:185,60845,244,20915,952,0001,994,0002,265,088
8Jul 23, 2021 20:185,61145,356,73816,958,000997,0002,265,088
9Jul 23, 2021 20:185,61350,746,17616,965,000997,0002,387,968
10Jul 23, 2021 20:185,71289,630,10718,277,24102,281,472
11Jul 23, 2021 20:185,88065,152,43118,816,78202,244,608
12Jul 23, 2021 20:185,889100,522,11118,844,09302,281,472