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 listJul 28, 2024 09:21BenBenScore: 4,549Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 09:214,52931,434,47914,493,00002,387,968
2Jul 28, 2024 09:214,53335,019,42413,471,0001,036,0002,400,256
3Jul 28, 2024 09:214,54133,532,38713,494,0001,038,0002,387,968
4Jul 28, 2024 09:214,54531,904,66814,544,00002,265,088
5Jul 28, 2024 09:214,54833,210,84113,514,0001,039,0002,265,088
6Jul 28, 2024 09:214,54931,521,34914,558,00002,379,776
7Jul 28, 2024 09:214,54928,011,49014,558,00002,396,160
8Jul 28, 2024 09:214,55028,981,20513,521,0001,040,0002,523,136
9Jul 28, 2024 09:214,55140,589,01513,523,0001,040,0002,265,088
10Jul 28, 2024 09:214,78698,973,34615,313,87002,281,472
11Jul 28, 2024 09:214,79091,516,00915,327,92302,277,376
12Jul 28, 2024 09:214,791110,425,83415,329,88502,273,280