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 12:48BenBenScore: 4,642Success
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 12:484,58435,509,25013,622,0001,047,0002,375,680
2Jul 30, 2024 12:484,59334,245,72614,698,00002,371,584
3Jul 30, 2024 12:484,60432,402,45214,732,00002,375,680
4Jul 30, 2024 12:484,63234,335,70812,847,0001,976,0002,265,088
5Jul 30, 2024 12:484,63735,889,69013,849,000989,0002,371,584
6Jul 30, 2024 12:484,63929,370,23514,846,00002,502,656
7Jul 30, 2024 12:484,64234,352,33013,863,000990,0002,478,080
8Jul 30, 2024 12:484,64734,586,27514,869,00002,265,088
9Jul 30, 2024 12:484,64832,721,46012,892,0001,983,0002,379,776
10Jul 30, 2024 12:484,884100,639,59115,628,15302,277,376
11Jul 30, 2024 12:484,89172,707,33915,651,69902,277,376
12Jul 30, 2024 12:484,90170,217,09915,684,71902,273,280