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 listMay 29, 2022 16:32Keichi TakahashiKeichi TakahashiScore: 5,340Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2022 16:325,28544,764,52215,856,0001,057,0002,379,776
2May 29, 2022 16:325,29134,157,94414,940,0001,992,0002,392,064
3May 29, 2022 16:325,30845,162,29014,988,0001,998,0002,265,088
4May 29, 2022 16:325,31445,213,82216,006,0001,000,0002,396,160
5May 29, 2022 16:325,32344,771,01115,030,0002,004,0002,396,160
6May 29, 2022 16:325,33349,182,31116,061,0001,003,0002,387,968
7May 29, 2022 16:325,34040,952,19715,078,0002,010,0002,482,176
8May 29, 2022 16:325,34638,107,24415,094,0002,012,0002,265,088
9May 29, 2022 16:325,35337,110,13815,115,0002,015,0002,265,088
10May 29, 2022 16:325,51281,808,56217,637,21002,273,280
11May 29, 2022 16:325,51477,252,58817,645,53402,277,376
12May 29, 2022 16:325,54273,228,84817,735,87602,285,568