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 30, 2024 11:17BenBenScore: 5,598Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 11:175,57641,904,33715,861,0001,982,0002,375,680
2Jul 30, 2024 11:175,58132,515,43517,859,00002,265,088
3Jul 30, 2024 11:175,58538,596,85216,879,000992,0002,371,584
4Jul 30, 2024 11:175,58747,292,28716,886,000993,0002,367,488
5Jul 30, 2024 11:175,58735,286,12615,893,0001,986,0002,371,584
6Jul 30, 2024 11:175,58843,649,41716,889,000993,0002,265,088
7Jul 30, 2024 11:175,59843,431,79516,917,000995,0002,375,680
8Jul 30, 2024 11:175,60033,493,06715,929,0001,991,0002,519,040
9Jul 30, 2024 11:175,61033,453,88816,955,000997,0002,265,088
10Jul 30, 2024 11:175,79765,152,32118,549,34302,273,280
11Jul 30, 2024 11:175,80196,077,43718,562,99602,265,088
12Jul 30, 2024 11:175,92067,739,54518,945,52502,277,376