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 6, 2024 23:45zielajzielajScore: 4,728Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 6, 2024 23:454,70332,794,05714,046,0001,003,0002,285,568
2Aug 6, 2024 23:454,71236,742,70314,072,0001,005,0002,269,184
3Aug 6, 2024 23:454,71837,806,79013,084,0002,012,0002,289,664
4Aug 6, 2024 23:454,72139,282,82014,101,0001,007,0002,281,472
5Aug 6, 2024 23:454,72438,238,78013,102,0002,015,0002,379,776
6Aug 6, 2024 23:454,72534,905,34714,113,0001,008,0002,379,776
7Aug 6, 2024 23:454,72832,669,83614,120,0001,008,0002,281,472
8Aug 6, 2024 23:454,72931,905,19014,125,0001,008,0002,289,664
9Aug 6, 2024 23:454,74339,247,05614,165,0001,011,0002,519,040
10Aug 6, 2024 23:454,97279,944,06715,909,80502,297,856
11Aug 6, 2024 23:454,98469,462,00815,947,99402,179,072
12Aug 6, 2024 23:454,98699,183,97615,955,62602,306,048