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 17:44Yuriy LyfenkoYuriy LyfenkoScore: 5,068Success
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 17:595,01740,422,43714,048,0002,006,0002,392,064
2Jun 2, 2021 17:595,02935,154,65715,088,0001,005,0002,265,088
3Jun 2, 2021 17:595,03047,766,34215,090,0001,006,0002,265,088
4Jun 2, 2021 17:595,03543,231,42414,098,0002,014,0002,387,968
5Jun 2, 2021 17:595,03844,314,98315,115,0001,007,0002,392,064
6Jun 2, 2021 17:595,04332,420,83714,121,0002,017,0002,392,064
7Jun 2, 2021 17:595,05433,784,40014,153,0002,021,0002,392,064
8Jun 2, 2021 17:595,06834,385,49215,204,0001,013,0002,265,088
9Jun 2, 2021 17:595,07843,521,99714,217,0002,031,0002,265,088
10Jun 2, 2021 17:595,25076,966,29416,801,28902,281,472
11Jun 2, 2021 17:595,26074,844,32416,831,23002,277,376
12Jun 2, 2021 17:595,29377,790,57116,938,41402,273,280
13Jun 2, 2021 17:4411,30195,923,50136,163,65502,277,376
14Jun 2, 2021 17:4411,30391,859,49436,169,48202,281,472
15Jun 2, 2021 17:4411,304105,478,16536,171,52902,273,280