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 28, 2024 12:47BenBenScore: 4,592Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 12:474,51933,394,30314,461,00002,265,088
2Jul 28, 2024 12:474,54236,896,40913,495,0001,038,0002,396,160
3Jul 28, 2024 12:474,54231,754,16814,534,00002,265,088
4Jul 28, 2024 12:474,56130,141,36813,553,0001,042,0002,383,872
5Jul 28, 2024 12:474,56330,528,60914,600,00002,265,088
6Jul 28, 2024 12:474,56930,467,05113,576,0001,044,0002,265,088
7Jul 28, 2024 12:474,59229,984,21914,695,00002,465,792
8Jul 28, 2024 12:474,72044,046,93513,090,0002,013,0002,265,088
9Jul 28, 2024 12:474,78177,969,16415,298,56302,281,472
10Jul 28, 2024 12:474,84582,301,33415,504,31102,289,664
11Jul 28, 2024 12:474,85394,151,52915,528,04602,289,664
12Jul 28, 2024 12:475,13638,606,61414,382,0002,054,0002,265,088