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 16, 2021 15:40Yuriy LyfenkoYuriy LyfenkoScore: 6,195Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 15:416,13041,061,58317,552,0002,064,0002,486,272
2May 16, 2021 15:416,13446,640,86418,596,0001,033,0002,490,368
3May 16, 2021 15:416,15244,450,52219,686,00002,326,528
4May 16, 2021 15:416,15345,627,39218,654,0001,036,0002,301,952
5May 16, 2021 15:416,15645,325,39018,664,0001,036,0002,494,464
6May 16, 2021 15:416,17043,846,59318,705,0001,039,0002,494,464
7May 16, 2021 15:416,17938,867,54617,691,0002,081,0002,330,624
8May 16, 2021 15:416,19596,545,52019,823,33302,187,264
9May 16, 2021 15:416,21349,169,01514,910,0004,970,0002,330,624
10May 16, 2021 15:416,22852,721,69016,942,0002,989,0002,351,104
11May 16, 2021 15:406,22977,624,56819,931,29902,191,360
12May 16, 2021 15:416,24589,272,29019,984,45302,183,168
13May 16, 2021 15:406,26871,680,37520,058,40502,179,072
14May 16, 2021 15:406,289105,314,73720,126,00702,195,456
15May 16, 2021 15:416,30778,905,21920,182,64302,195,456