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 17, 2021 19:45Yuriy LyfenkoYuriy LyfenkoScore: 5,277Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 19:455,2342,833,201,53516,748,00002,527,232
2May 17, 2021 19:455,2382,274,981,21516,760,00002,265,088
3May 17, 2021 19:455,2402,096,071,69215,781,000986,0002,265,088
4May 17, 2021 19:455,2553,028,678,68214,839,0001,978,0002,527,232
5May 17, 2021 19:455,257596,808,78214,843,0001,979,0002,265,088
6May 17, 2021 19:455,2611,192,181,38814,855,0001,980,0002,265,088
7May 17, 2021 19:455,2771,653,475,98416,887,00002,265,088
8May 17, 2021 19:455,2812,712,461,02914,910,0001,988,0002,269,184
9May 17, 2021 19:455,3501,236,406,79217,120,93202,277,376
10May 17, 2021 19:455,3732,454,306,94017,192,88002,277,376
11May 17, 2021 19:455,3842,817,099,37417,230,11002,273,280
12May 17, 2021 19:455,4512,427,028,79115,391,0002,052,0002,387,968