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 18:59Yuriy LyfenkoYuriy LyfenkoScore: 5,051Success
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 18:594,9975,041,465,75514,992,000999,0002,273,280
2Jun 2, 2021 18:594,9985,043,587,34113,994,0001,999,0002,273,280
3Jun 2, 2021 18:595,0085,038,633,02114,021,0002,003,0002,273,280
4Jun 2, 2021 18:595,0085,041,646,13014,024,0002,003,0002,273,280
5Jun 2, 2021 18:595,0275,038,024,55015,082,0001,005,0002,273,280
6Jun 2, 2021 18:595,0295,039,327,56815,087,0001,005,0002,273,280
7Jun 2, 2021 18:595,0515,039,882,45114,143,0002,020,0002,281,472
8Jun 2, 2021 18:595,0595,039,077,13615,178,0001,011,0002,408,448
9Jun 2, 2021 18:595,0665,039,304,07214,185,0002,026,0002,273,280
10Jun 2, 2021 18:595,1755,074,506,43916,558,77802,252,800
11Jun 2, 2021 18:595,1835,068,000,38616,586,26602,256,896
12Jun 2, 2021 18:595,2025,079,631,56116,645,28902,252,800