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,689Success
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,65835,621,39113,914,000993,0002,289,664
2Jul 20, 2024 12:354,65936,910,06112,921,0001,987,0002,269,184
3Jul 20, 2024 12:354,67034,542,30412,951,0001,992,0002,269,184
4Jul 20, 2024 12:354,67838,822,01412,974,0001,996,0002,363,392
5Jul 20, 2024 12:354,67830,843,53612,975,0001,996,0002,273,280
6Jul 20, 2024 12:354,67932,359,28512,978,0001,996,0002,273,280
7Jul 20, 2024 12:354,68938,125,58714,006,0001,000,0002,289,664
8Jul 20, 2024 12:354,69232,652,91913,013,0002,002,0002,277,376
9Jul 20, 2024 12:354,71137,260,21114,070,0001,005,0002,281,472
10Jul 20, 2024 12:354,94991,321,24715,838,05002,277,376
11Jul 20, 2024 12:354,95299,095,16215,847,61402,293,760
12Jul 20, 2024 12:354,95794,404,09115,861,76702,285,568