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 3, 2023 21:34Jo SeatonJo SeatonScore: 5,386Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2023 21:345,32841,169,47516,048,0001,003,000286,720
2Jul 3, 2023 21:345,34046,216,34316,084,0001,005,000282,624
3Jul 3, 2023 21:345,34552,609,98416,099,0001,006,000282,624
4Jul 3, 2023 21:345,35634,874,94415,123,0002,016,000282,624
5Jul 3, 2023 21:345,35844,021,63915,129,0002,017,0002,506,752
6Jul 3, 2023 21:345,36133,362,64516,146,0001,009,000430,080
7Jul 3, 2023 21:345,38641,818,91215,209,0002,027,000278,528
8Jul 3, 2023 21:345,39343,558,38315,227,0002,030,000430,080
9Jul 3, 2023 21:345,40042,918,42616,265,0001,016,000397,312
10Jul 3, 2023 21:345,445107,573,30317,423,51902,244,608
11Jul 3, 2023 21:345,47190,870,56417,508,76502,273,280
12Jul 3, 2023 21:345,48391,160,20017,546,57902,277,376