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 listSep 23, 2024 07:05MaxMaxScore: 10,587Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 23, 2024 07:0510,57963,772,74932,859,000995,0002,265,088
2Sep 23, 2024 07:0510,58059,004,10431,865,0001,991,0002,289,664
3Sep 23, 2024 07:0510,58166,636,82631,868,0001,991,0002,273,280
4Sep 23, 2024 07:0510,58463,977,02431,876,0001,992,0002,289,664
5Sep 23, 2024 07:0510,58765,511,27231,885,0001,992,0002,289,664
6Sep 23, 2024 07:0510,58764,813,88731,885,0001,992,0002,289,664
7Sep 23, 2024 07:0510,58762,853,09931,886,0001,992,0002,289,664
8Sep 23, 2024 07:0510,59068,896,46131,894,0001,993,0002,289,664
9Sep 23, 2024 07:0510,59065,180,90631,894,0001,993,0002,527,232