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 14:42AndreyTSAndreyTSScore: 5,270Success
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 14:425,20747,053,13816,663,00002,289,664
2Jun 9, 2024 14:425,21637,085,08815,647,0001,043,0002,273,280
3Jun 9, 2024 14:425,22232,295,88715,665,0001,044,0002,269,184
4Jun 9, 2024 14:425,22748,422,13115,681,0001,045,0002,289,664
5Jun 9, 2024 14:425,23345,419,67816,744,00002,269,184
6Jun 9, 2024 14:425,26333,646,15115,853,000990,0002,281,472
7Jun 9, 2024 14:425,27046,899,42514,881,0001,984,0002,289,664
8Jun 9, 2024 14:425,27440,938,15314,893,0001,985,0002,523,136
9Jun 9, 2024 14:425,27543,180,31015,888,000993,0002,392,064
10Jun 9, 2024 14:425,43993,667,58617,405,22902,293,760
11Jun 9, 2024 14:425,48698,638,23217,556,01502,301,952
12Jun 9, 2024 14:425,49489,605,31817,580,55302,174,976