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:59Yuriy LyfenkoYuriy LyfenkoScore: 5,262Success
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:595,240550,055,02915,782,000986,0002,281,472
2Jun 2, 2021 21:595,241543,726,80014,798,0001,973,0002,273,280
3Jun 2, 2021 21:595,241541,913,48014,799,0001,973,0002,281,472
4Jun 2, 2021 21:595,248547,671,28515,805,000987,0002,273,280
5Jun 2, 2021 21:595,248541,396,55415,807,000987,0002,273,280
6Jun 2, 2021 21:595,257541,559,09214,842,0001,979,0002,273,280
7Jun 2, 2021 21:595,262544,012,76415,849,000990,0002,273,280
8Jun 2, 2021 21:595,265539,554,44915,858,000991,0002,273,280
9Jun 2, 2021 21:595,276538,569,30115,889,000993,0002,281,472
10Jun 2, 2021 21:595,380577,056,65517,215,55202,256,896
11Jun 2, 2021 21:595,391576,331,85417,251,42602,252,800
12Jun 2, 2021 21:595,400582,686,36217,279,05302,297,856