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 21:46Yuriy LyfenkoYuriy LyfenkoScore: 5,033Success
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 21:464,992539,135,92913,977,0001,996,0002,273,280
2Jun 2, 2021 21:464,998541,170,17313,995,0001,999,0002,273,280
3Jun 2, 2021 21:464,998538,780,17213,996,0001,999,0002,281,472
4Jun 2, 2021 21:465,008538,246,37514,021,0002,003,0002,281,472
5Jun 2, 2021 21:465,028537,372,17114,080,0002,011,0002,273,280
6Jun 2, 2021 21:465,029539,830,18415,087,0001,005,0002,482,176
7Jun 2, 2021 21:465,033536,279,14914,094,0002,013,0002,281,472
8Jun 2, 2021 21:465,046544,957,59215,137,0001,009,0002,273,280
9Jun 2, 2021 21:465,050540,065,04616,161,00002,273,280
10Jun 2, 2021 21:465,176576,996,95616,564,45102,252,800
11Jun 2, 2021 21:465,188577,761,62716,602,22802,256,896
12Jun 2, 2021 21:465,195579,261,67416,622,60402,256,896