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 listMay 18, 2021 13:50Yuriy LyfenkoYuriy LyfenkoScore: 5,454Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 18, 2021 13:505,4122,780,062,88316,357,000962,0002,269,184
2May 18, 2021 13:505,4191,013,713,63717,341,00002,265,088
3May 18, 2021 13:505,4262,972,148,07516,399,000964,0002,527,232
4May 18, 2021 13:505,4451,636,847,29017,423,00002,269,184
5May 18, 2021 13:505,451860,964,72416,474,000969,0002,265,088
6May 18, 2021 13:505,4521,461,116,58415,507,0001,938,0002,265,088
7May 18, 2021 13:505,4542,248,568,56216,428,0001,026,0002,269,184
8May 18, 2021 13:505,4692,039,709,38815,558,0001,944,0002,265,088
9May 18, 2021 13:505,479538,494,76915,586,0001,948,0002,523,136
10May 18, 2021 13:506,0192,618,954,19919,260,68702,281,472
11May 18, 2021 13:506,0453,006,001,08019,344,43902,281,472
12May 18, 2021 13:506,056235,513,37019,378,39402,277,376