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, 2021 22:58evgenikwtevgenikwtScore: 5,318Success
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, 2021 22:585,28233,304,11614,914,0001,988,0002,265,088
2Jun 13, 2021 22:585,28349,965,73214,918,0001,989,0002,265,088
3Jun 13, 2021 22:585,29349,102,66215,941,000996,0002,265,088
4Jun 13, 2021 22:585,29540,861,10215,947,000996,0002,265,088
5Jun 13, 2021 22:585,29648,756,54215,950,000996,0002,265,088
6Jun 13, 2021 22:585,30146,639,65515,966,000997,0002,387,968
7Jun 13, 2021 22:585,31838,030,02316,017,0001,001,0002,506,752
8Jun 13, 2021 22:585,32443,333,50815,034,0002,004,0002,527,232
9Jun 13, 2021 22:585,34344,754,45515,086,0002,011,0002,469,888
10Jun 13, 2021 22:585,46998,189,48517,501,46802,281,472
11Jun 13, 2021 22:585,51863,442,13417,656,35602,277,376
12Jun 13, 2021 22:585,53585,027,71217,713,52502,244,608