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 listDec 3, 2024 17:13MitchMitchScore: 53,742Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 3, 2024 17:1353,569193,703,871140,344,00031,076,0002,510,848
2Dec 3, 2024 17:1353,699198,098,604138,869,00032,968,0002,506,752
3Dec 3, 2024 17:1353,713197,446,386139,903,00031,977,0002,338,816
4Dec 3, 2024 17:1353,739205,378,556141,971,00029,993,0002,289,664
5Dec 3, 2024 17:1353,742200,330,772139,979,00031,995,0002,506,752
6Dec 3, 2024 17:1353,806198,009,919141,148,00031,032,0002,506,752
7Dec 3, 2024 17:1353,830195,401,780141,209,00031,046,0002,506,752
8Dec 3, 2024 17:1353,998201,537,926139,833,00032,960,0002,289,664
9Dec 3, 2024 17:1354,003200,196,115139,845,00032,963,0002,289,664