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 13, 2024 16:15Brian WardBrian WardScore: 5,730Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 13, 2024 16:155,61044,478,72616,956,000997,0002,289,664
2Apr 13, 2024 16:155,67441,449,32017,150,0001,008,0002,289,664
3Apr 13, 2024 16:155,68343,423,10017,176,0001,010,0002,355,200
4Apr 13, 2024 16:155,70341,501,76716,221,0002,027,0002,289,664
5Apr 13, 2024 16:155,70746,050,95216,234,0002,029,0002,289,664
6Apr 13, 2024 16:155,71241,720,31516,248,0002,031,0002,355,200
7Apr 13, 2024 16:155,73042,289,66016,299,0002,037,0002,351,104
8Apr 13, 2024 16:155,73545,605,65217,333,0001,019,0002,289,664
9Apr 13, 2024 16:155,76140,101,81018,436,00002,351,104
10Apr 13, 2024 16:155,86798,784,34418,773,74102,236,416
11Apr 13, 2024 16:155,882103,633,97318,823,89502,228,224
12Apr 13, 2024 16:155,89186,369,35418,851,51302,260,992