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 30, 2024 10:35AnSaAnSaScore: 5,013Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 10:354,96132,873,97513,891,0001,984,0002,289,664
2Jun 30, 2024 10:354,98233,481,58813,950,0001,992,0002,523,136
3Jun 30, 2024 10:354,98531,752,88213,958,0001,994,0002,375,680
4Jun 30, 2024 10:354,99432,229,17314,982,000998,0002,265,088
5Jun 30, 2024 10:354,99643,356,84314,989,000999,0002,273,280
6Jun 30, 2024 10:354,99736,483,88414,991,000999,0002,289,664
7Jun 30, 2024 10:355,01340,305,02414,035,0002,005,0002,289,664
8Jun 30, 2024 10:355,01733,647,36116,054,00002,273,280
9Jun 30, 2024 10:355,02133,641,55914,058,0002,008,0002,269,184
10Jun 30, 2024 10:355,18896,157,68716,603,15402,293,760
11Jun 30, 2024 10:355,22587,888,00616,720,57502,289,664
12Jun 30, 2024 10:355,24180,087,72516,771,68002,289,664