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 15:59Yuriy LyfenkoYuriy LyfenkoScore: 5,077Success
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 15:595,026537,996,75314,073,0002,010,0002,281,472
2Jun 3, 2021 15:595,028538,915,04014,079,0002,011,0002,273,280
3Jun 3, 2021 15:595,038537,361,65016,122,00002,273,280
4Jun 3, 2021 15:595,043537,527,23314,119,0002,017,0002,281,472
5Jun 3, 2021 15:595,049537,049,17714,138,0002,019,0002,273,280
6Jun 3, 2021 15:595,055534,996,52015,166,0001,011,0002,281,472
7Jun 3, 2021 15:595,077536,519,17115,232,0001,015,0002,281,472
8Jun 3, 2021 15:595,086543,921,13416,275,00002,281,472
9Jun 3, 2021 15:595,089538,804,14416,286,00002,281,472
10Jun 3, 2021 15:595,177570,174,16216,566,53202,297,856
11Jun 3, 2021 15:595,227577,133,28316,726,72702,256,896
12Jun 3, 2021 15:595,240589,683,72316,769,17002,297,856