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 8, 2024 22:00AndreyTSAndreyTSScore: 5,308Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 22:005,27142,647,22014,884,0001,984,0002,289,664
2Jun 8, 2024 22:005,27340,271,78216,875,00002,289,664
3Jun 8, 2024 22:005,27745,833,86315,893,000993,0002,289,664
4Jun 8, 2024 22:005,28940,492,68815,931,000995,0002,269,184
5Jun 8, 2024 22:005,30141,238,11415,965,000997,0002,289,664
6Jun 8, 2024 22:005,30746,799,42814,984,0001,997,0002,289,664
7Jun 8, 2024 22:005,30836,055,58714,988,0001,998,0002,289,664
8Jun 8, 2024 22:005,30939,324,79214,991,0001,998,0002,523,136
9Jun 8, 2024 22:005,31233,587,35614,998,0001,999,0002,289,664
10Jun 8, 2024 22:005,98775,387,01219,159,32602,301,952
11Jun 8, 2024 22:005,99382,448,05019,177,42502,297,856
12Jun 8, 2024 22:006,08493,973,27019,468,81402,301,952