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 9, 2024 18:36matsuoka-601matsuoka-601Score: 4,650Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 18:364,60331,293,30913,676,0001,052,0002,408,448
2Jun 9, 2024 18:364,62929,149,69513,826,000987,0002,285,568
3Jun 9, 2024 18:364,64532,292,44514,863,00002,285,568
4Jun 9, 2024 18:364,64741,792,64412,888,0001,982,0002,285,568
5Jun 9, 2024 18:364,64837,242,95812,891,0001,983,0002,285,568
6Jun 9, 2024 18:364,65031,288,66412,897,0001,984,0002,285,568
7Jun 9, 2024 18:364,65035,946,38112,897,0001,984,0002,408,448
8Jun 9, 2024 18:364,65433,770,98412,908,0001,985,0002,285,568
9Jun 9, 2024 18:364,67832,156,71112,975,0001,996,0002,285,568
10Jun 9, 2024 18:364,89687,228,20815,668,39102,301,952
11Jun 9, 2024 18:364,91480,673,32215,725,10002,179,072
12Jun 9, 2024 18:364,93784,356,41515,798,96902,297,856