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 listJul 19, 2024 10:23Matt StuchlikMatt StuchlikScore: 5,335Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 19, 2024 10:235,28639,672,38214,926,0001,990,0002,273,280
2Jul 19, 2024 10:235,28744,190,91114,928,0001,990,0002,273,280
3Jul 19, 2024 10:235,29437,396,59714,947,0001,993,0002,289,664
4Jul 19, 2024 10:235,31040,530,07415,994,000999,0002,273,280
5Jul 19, 2024 10:235,31433,833,85315,004,0002,000,0002,289,664
6Jul 19, 2024 10:235,31441,598,48915,005,0002,000,0002,289,664
7Jul 19, 2024 10:235,33541,310,25715,063,0002,008,0002,289,664
8Jul 19, 2024 10:235,35240,512,57516,118,0001,007,0002,289,664
9Jul 19, 2024 10:235,35838,511,30415,130,0002,017,0002,289,664
10Jul 19, 2024 10:235,59168,219,44317,890,65802,289,664
11Jul 19, 2024 10:235,61166,565,10317,954,11302,289,664
12Jul 19, 2024 10:235,62994,566,39418,011,64102,289,664