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 17, 2024 20:45zielajzielajScore: 4,163Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 17, 2024 20:454,13629,240,89912,218,0001,018,0002,498,560
2Aug 17, 2024 20:454,14834,126,29213,273,00002,531,328
3Aug 17, 2024 20:454,15530,109,93213,297,00002,502,656
4Aug 17, 2024 20:454,15826,874,27313,304,00002,531,328
5Aug 17, 2024 20:454,15930,489,90612,286,0001,023,0002,269,184
6Aug 17, 2024 20:454,16332,102,54213,321,00002,269,184
7Aug 17, 2024 20:454,16329,034,87513,323,00002,494,464
8Aug 17, 2024 20:454,17928,722,44013,372,00002,494,464
9Aug 17, 2024 20:454,19327,602,87012,385,0001,032,0002,490,368
10Aug 17, 2024 20:454,43885,263,16614,201,10402,236,416
11Aug 17, 2024 20:454,44474,644,35514,219,70602,240,512
12Aug 17, 2024 20:454,47158,984,93814,306,19502,367,488