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 listAug 20, 2024 11:13Matt StuchlikMatt StuchlikScore: 364,144Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 20, 2024 11:12363,4561,223,889,9141,163,057,84702,244,608
2Aug 20, 2024 11:13363,5331,225,868,0311,163,306,36402,232,320
3Aug 20, 2024 11:13363,7141,223,400,7631,163,885,35402,232,320
4Aug 20, 2024 11:13364,1131,225,788,9391,165,162,97802,248,704
5Aug 20, 2024 11:12364,1441,223,670,9741,165,262,20702,240,512
6Aug 20, 2024 11:13364,3701,228,628,4651,165,983,44802,232,320
7Aug 20, 2024 11:12364,4851,234,961,7461,166,353,09502,228,224
8Aug 20, 2024 11:13364,5151,232,999,7621,166,448,21702,244,608
9Aug 20, 2024 11:13364,5261,229,458,3831,166,484,07602,236,416