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 12, 2024 19:34AndreyTSAndreyTSScore: 5,726Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 19:345,69133,288,54216,189,0002,023,0002,277,376
2Jun 12, 2024 19:345,70941,221,07616,240,0002,030,0002,277,376
3Jun 12, 2024 19:345,71140,791,76216,244,0002,030,0002,523,136
4Jun 12, 2024 19:345,71541,025,25317,272,0001,016,0002,531,328
5Jun 12, 2024 19:345,71638,360,88616,258,0002,032,0002,289,664
6Jun 12, 2024 19:345,71946,355,22116,267,0002,033,0002,273,280
7Jun 12, 2024 19:345,72646,174,83816,287,0002,035,0002,277,376
8Jun 12, 2024 19:345,73339,920,77516,308,0002,038,0002,273,280
9Jun 12, 2024 19:345,74741,074,05716,348,0002,043,0002,289,664
10Jun 12, 2024 19:345,91483,689,75718,925,71202,310,144
11Jun 12, 2024 19:345,91686,114,61718,931,52502,297,856
12Jun 12, 2024 19:345,96992,990,35019,101,03202,174,976