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 16, 2021 21:57Andrey TsvetkovAndrey TsvetkovScore: 5,719Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2021 21:575,69241,020,49716,191,0002,023,0002,527,232
2Jun 16, 2021 21:575,69335,153,89516,195,0002,024,0002,531,328
3Jun 16, 2021 21:575,69842,193,16415,196,0003,039,0002,527,232
4Jun 16, 2021 21:575,69949,203,56616,210,0002,026,0002,334,720
5Jun 16, 2021 21:575,69934,328,23716,210,0002,026,0002,531,328
6Jun 16, 2021 21:575,70640,283,18715,215,0003,043,0002,334,720
7Jun 16, 2021 21:575,71939,477,91616,268,0002,033,0002,330,624
8Jun 16, 2021 21:575,74044,323,64316,328,0002,041,0002,531,328
9Jun 16, 2021 21:575,74351,741,18718,376,40902,232,320
10Jun 16, 2021 21:575,76841,255,18016,406,0002,050,0002,531,328
11Jun 16, 2021 21:575,78972,769,01318,525,68602,244,608
12Jun 16, 2021 21:575,79377,857,05118,538,88102,240,512