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 3, 2021 04:59Yuriy LyfenkoYuriy LyfenkoScore: 5,106Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 04:595,038537,894,41414,105,0002,015,0002,281,472
2Jun 3, 2021 04:595,043537,848,17015,130,0001,008,0002,404,352
3Jun 3, 2021 04:595,045539,008,04415,135,0001,009,0002,273,280
4Jun 3, 2021 04:595,068539,116,10214,191,0002,027,0002,281,472
5Jun 3, 2021 04:595,103539,303,97416,329,00002,281,472
6Jun 3, 2021 04:595,104544,140,17415,313,0001,020,0002,273,280
7Jun 3, 2021 04:595,106543,162,88416,338,00002,281,472
8Jun 3, 2021 04:595,107544,083,23815,322,0001,021,0002,273,280
9Jun 3, 2021 04:595,113540,740,76615,340,0001,022,0002,281,472
10Jun 3, 2021 04:595,183579,539,68916,586,69602,293,760
11Jun 3, 2021 04:595,198569,857,86916,634,60902,297,856
12Jun 3, 2021 04:595,225573,928,67516,719,59502,293,760