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 10, 2023 07:56parsersmailparsersmailScore: 5,856Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 10, 2023 07:565,77178,265,29418,467,93702,248,704
2Aug 10, 2023 07:565,82249,579,36918,629,00002,347,008
3Aug 10, 2023 07:565,82962,237,18818,651,56102,232,320
4Aug 10, 2023 07:565,84377,607,95518,697,86602,244,608
5Aug 10, 2023 07:565,84448,728,60618,700,00002,543,616
6Aug 10, 2023 07:565,85446,250,36317,693,0001,040,0002,347,008
7Aug 10, 2023 07:565,85645,131,85418,739,00002,347,008
8Aug 10, 2023 07:565,85845,248,79817,706,0001,041,0002,347,008
9Aug 10, 2023 07:565,90243,257,92318,885,00002,347,008
10Aug 10, 2023 07:565,90248,565,05916,899,0001,988,0002,347,008
11Aug 10, 2023 07:565,90338,244,72316,903,0001,988,0002,347,008
12Aug 10, 2023 07:565,90445,733,45517,900,000994,0002,347,008