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 2, 2024 04:50mgildermgilderScore: 5,761Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 2, 2024 04:505,67751,691,35016,147,0002,018,0002,363,392
2Aug 2, 2024 04:505,72547,611,10417,302,0001,017,0002,408,448
3Aug 2, 2024 04:505,72644,542,93216,287,0002,035,0002,351,104
4Aug 2, 2024 04:505,73043,252,48416,299,0002,037,0002,510,848
5Aug 2, 2024 04:505,74351,793,13017,358,0001,021,0002,367,488
6Aug 2, 2024 04:505,74633,817,79717,366,0001,021,0002,502,656
7Aug 2, 2024 04:505,76146,245,99616,388,0002,048,0002,535,424
8Aug 2, 2024 04:505,77555,064,54517,453,0001,026,0002,351,104
9Aug 2, 2024 04:505,78346,414,64918,506,00002,514,944
10Aug 2, 2024 04:505,856105,236,27818,740,67402,220,032
11Aug 2, 2024 04:505,99088,065,84319,169,25902,347,008
12Aug 2, 2024 04:506,00393,265,71219,208,45202,215,936