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 listJan 20, 2024 16:09AnSaAnSaScore: 5,271Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 20, 2024 16:095,22935,529,17115,688,0001,045,0002,281,472
2Jan 20, 2024 16:095,26937,085,29915,870,000991,0002,281,472
3Jan 20, 2024 16:095,27036,987,67316,863,00002,281,472
4Jan 20, 2024 16:095,27141,950,54416,866,00002,281,472
5Jan 20, 2024 16:095,27133,794,43114,883,0001,984,0002,281,472
6Jan 20, 2024 16:095,27144,415,05815,875,000992,0002,281,472
7Jan 20, 2024 16:095,27141,639,28314,884,0001,984,0002,396,160
8Jan 20, 2024 16:095,27431,410,81615,884,000992,0002,281,472
9Jan 20, 2024 16:095,27541,695,18115,887,000992,0002,506,752
10Jan 20, 2024 16:095,44692,730,88817,426,19402,252,800
11Jan 20, 2024 16:095,44958,785,08917,437,77402,289,664
12Jan 20, 2024 16:095,463106,108,36517,482,03302,285,568