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 listJul 20, 2024 12:35Matt StuchlikMatt StuchlikScore: 4,683Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2024 12:354,66444,236,23512,935,0001,990,0002,289,664
2Jul 20, 2024 12:354,66738,419,05312,942,0001,991,0002,523,136
3Jul 20, 2024 12:354,67444,812,56512,962,0001,994,0002,269,184
4Jul 20, 2024 12:354,67436,319,88212,963,0001,994,0002,289,664
5Jul 20, 2024 12:354,67435,801,09312,964,0001,994,0002,289,664
6Jul 20, 2024 12:354,67427,858,30013,961,000997,0002,277,376
7Jul 20, 2024 12:354,68332,535,87012,989,0001,998,0002,289,664
8Jul 20, 2024 12:354,70132,169,25114,041,0001,002,0002,531,328
9Jul 20, 2024 12:354,71033,071,90114,069,0001,004,0002,273,280
10Jul 20, 2024 12:354,93464,842,20815,788,15202,285,568
11Jul 20, 2024 12:354,94293,128,04915,813,79202,285,568
12Jul 20, 2024 12:354,94779,843,95515,830,18702,289,664