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 20:56AndreyTSAndreyTSScore: 5,715Success
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 20:565,67537,914,62516,143,0002,017,0002,281,472
2Jun 8, 2024 20:565,67941,820,43216,153,0002,019,0002,289,664
3Jun 8, 2024 20:565,68841,552,60316,179,0002,022,0002,523,136
4Jun 8, 2024 20:565,69045,856,59217,197,0001,011,0002,277,376
5Jun 8, 2024 20:565,69338,103,46016,194,0002,024,0002,273,280
6Jun 8, 2024 20:565,69739,647,95816,205,0002,025,0002,265,088
7Jun 8, 2024 20:565,71545,493,73116,257,0002,032,0002,289,664
8Jun 8, 2024 20:565,71639,964,56716,258,0002,032,0002,523,136
9Jun 8, 2024 20:565,72046,345,05816,271,0002,033,0002,289,664
10Jun 8, 2024 20:565,92585,241,52118,959,23102,256,896
11Jun 8, 2024 20:565,97094,271,98919,103,06002,301,952
12Jun 8, 2024 20:565,97797,903,35919,127,30802,306,048