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 7, 2024 17:37matsuoka-601matsuoka-601Score: 4,648Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2024 17:374,64234,179,82814,854,00002,285,568
2Jun 7, 2024 17:374,64537,103,98214,865,00002,285,568
3Jun 7, 2024 17:374,64747,920,58512,888,0001,982,0002,285,568
4Jun 7, 2024 17:374,64829,966,52912,890,0001,983,0002,285,568
5Jun 7, 2024 17:374,64835,731,82513,883,000991,0002,412,544
6Jun 7, 2024 17:374,64844,510,88512,891,0001,983,0002,412,544
7Jun 7, 2024 17:374,64833,236,31113,884,000991,0002,400,256
8Jun 7, 2024 17:374,65331,830,67014,888,00002,285,568
9Jun 7, 2024 17:374,69041,780,84514,008,0001,000,0002,404,352
10Jun 7, 2024 17:374,86276,855,81215,558,85802,297,856
11Jun 7, 2024 17:374,89083,074,28215,646,93602,306,048
12Jun 7, 2024 17:374,93058,996,65315,774,60102,174,976