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 19, 2024 10:03Matt StuchlikMatt StuchlikScore: 5,452Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 19, 2024 10:035,42241,784,60116,330,0001,020,0002,289,664
2Jul 19, 2024 10:035,42541,810,94016,340,0001,021,0002,273,280
3Jul 19, 2024 10:035,42639,595,83417,362,00002,355,200
4Jul 19, 2024 10:035,43838,700,08016,379,0001,023,0002,289,664
5Jul 19, 2024 10:035,43840,107,50015,356,0002,047,0002,269,184
6Jul 19, 2024 10:035,44839,447,02616,407,0001,025,0002,289,664
7Jul 19, 2024 10:035,45240,911,42816,419,0001,026,0002,277,376
8Jul 19, 2024 10:035,45540,021,99016,429,0001,026,0002,265,088
9Jul 19, 2024 10:035,46839,382,24216,470,0001,029,0002,289,664
10Jul 19, 2024 10:035,66090,425,73718,111,52102,301,952
11Jul 19, 2024 10:035,69385,705,58718,217,74702,179,072
12Jul 19, 2024 10:035,71368,943,58318,282,25202,252,800