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 listJun 13, 2024 12:54AndreyTSAndreyTSScore: 5,473Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2024 12:545,43543,752,15516,370,0001,023,0002,289,664
2Jun 13, 2024 12:545,43742,725,38016,374,0001,023,0002,269,184
3Jun 13, 2024 12:545,44234,847,72616,391,0001,024,0002,285,568
4Jun 13, 2024 12:545,45141,398,03516,417,0001,026,0002,289,664
5Jun 13, 2024 12:545,46137,555,91616,447,0001,027,0002,273,280
6Jun 13, 2024 12:545,46335,802,11217,483,00002,289,664
7Jun 13, 2024 12:545,47339,327,36416,484,0001,030,0002,281,472
8Jun 13, 2024 12:545,47439,654,40717,516,00002,289,664
9Jun 13, 2024 12:545,51247,051,72216,601,0001,037,0002,289,664
10Jun 13, 2024 12:545,74071,364,37618,366,77502,293,760
11Jun 13, 2024 12:545,76689,642,82618,449,65102,301,952
12Jun 13, 2024 12:545,79688,122,91218,545,98502,170,880