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 2, 2021 20:32Yuriy LyfenkoYuriy LyfenkoScore: 5,997Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 20:325,9641,038,290,06818,080,0001,004,0002,330,624
2Jun 2, 2021 20:325,9651,045,862,63017,079,0002,009,0002,330,624
3Jun 2, 2021 20:325,9761,042,990,36616,105,0003,019,0002,334,720
4Jun 2, 2021 20:325,9881,044,099,77416,137,0003,025,0002,330,624
5Jun 2, 2021 20:325,9891,051,334,86215,131,0004,035,0002,330,624
6Jun 2, 2021 20:325,9911,043,526,84617,153,0002,017,0002,334,720
7Jun 2, 2021 20:325,9971,041,907,29317,170,0002,020,0002,330,624
8Jun 2, 2021 20:326,0271,042,033,72717,257,0002,030,0002,330,624
9Jun 2, 2021 20:326,0391,042,486,11817,292,0002,034,0002,334,720
10Jun 2, 2021 20:326,0411,081,613,58719,330,69602,252,800
11Jun 2, 2021 20:326,0821,090,688,03419,461,54802,228,224
12Jun 2, 2021 20:326,0881,088,026,94319,482,78102,215,936