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 listJun 2, 2024 09:13matsuoka-601matsuoka-601Score: 5,283Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2024 09:135,22642,043,36815,679,0001,045,0002,322,432
2Jun 2, 2024 09:135,23033,501,33915,691,0001,046,0002,330,624
3Jun 2, 2024 09:135,26642,515,88414,870,0001,982,0002,424,832
4Jun 2, 2024 09:135,27144,714,35015,875,000992,0002,297,856
5Jun 2, 2024 09:135,27341,371,99014,888,0001,985,0002,297,856
6Jun 2, 2024 09:135,27841,482,37714,904,0001,987,0002,326,528
7Jun 2, 2024 09:135,28332,445,40215,911,000994,0002,297,856
8Jun 2, 2024 09:135,28540,211,14515,855,0001,057,0002,318,336
9Jun 2, 2024 09:135,29743,304,51814,957,0001,994,0002,326,528
10Jun 2, 2024 09:135,37682,730,89717,203,75402,170,880
11Jun 2, 2024 09:135,39985,524,01017,275,97502,277,376
12Jun 2, 2024 09:135,41085,062,40217,313,54802,285,568