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 listJun 8, 2024 19:28AndreyTSAndreyTSScore: 5,288Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 19:285,22937,859,19916,733,00002,510,848
2Jun 8, 2024 19:285,26246,672,02514,857,0001,980,0002,289,664
3Jun 8, 2024 19:285,26947,126,01315,871,000991,0002,289,664
4Jun 8, 2024 19:285,26941,679,02414,877,0001,983,0002,269,184
5Jun 8, 2024 19:285,27036,159,58314,880,0001,984,0002,289,664
6Jun 8, 2024 19:285,27141,366,63914,884,0001,984,0002,289,664
7Jun 8, 2024 19:285,27246,837,43715,878,000992,0002,289,664
8Jun 8, 2024 19:285,27237,189,99115,878,000992,0002,273,280
9Jun 8, 2024 19:285,27347,127,07014,887,0001,985,0002,289,664
10Jun 8, 2024 19:285,27434,339,67115,884,000992,0002,289,664
11Jun 8, 2024 19:285,27541,708,91614,895,0001,986,0002,523,136
12Jun 8, 2024 19:285,28146,806,48114,912,0001,988,0002,289,664
13Jun 8, 2024 19:285,28843,263,70915,866,0001,057,0002,289,664
14Jun 8, 2024 19:285,29034,170,61915,933,000995,0002,289,664
15Jun 8, 2024 19:285,29342,527,48014,947,0001,992,0002,289,664
16Jun 8, 2024 19:285,30538,762,48014,980,0001,997,0002,523,136
17Jun 8, 2024 19:285,31441,540,00515,004,0002,000,0002,289,664
18Jun 8, 2024 19:285,33543,416,32615,063,0002,008,0002,531,328
19Jun 8, 2024 19:285,49780,695,65617,589,46302,301,952
20Jun 8, 2024 19:285,50796,579,28917,622,17802,174,976
21Jun 8, 2024 19:285,51688,726,49017,649,88002,301,952
22Jun 8, 2024 19:285,51987,942,71317,661,45902,174,976
23Jun 8, 2024 19:285,53679,412,05017,713,98202,297,856
24Jun 8, 2024 19:285,53759,794,22517,718,55102,297,856