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 listApr 6, 2025 17:41Chandrasekaran AkashChandrasekaran AkashScore: 4,354Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 6, 2025 17:414,33630,864,81412,885,000991,0002,277,376
2Apr 6, 2025 17:414,33832,415,56612,891,000991,0002,502,656
3Apr 6, 2025 17:414,34027,316,30412,897,000992,0002,506,752
4Apr 6, 2025 17:414,34231,471,44112,903,000992,0002,502,656
5Apr 6, 2025 17:414,35430,462,18011,942,0001,990,0002,502,656
6Apr 6, 2025 17:414,35533,155,75412,940,000995,0002,277,376
7Apr 6, 2025 17:414,35635,951,75812,943,000995,0002,269,184
8Apr 6, 2025 17:414,35630,654,17213,939,00002,277,376
9Apr 6, 2025 17:414,35632,224,15512,945,000995,0002,277,376