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 25, 2021 06:26Yuriy LyfenkoYuriy LyfenkoScore: 5,277Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 06:265,27048,872,48514,880,0001,984,0002,392,064
2May 25, 2021 06:265,27132,093,75114,883,0001,984,0002,523,136
3May 25, 2021 06:265,27336,408,35214,888,0001,985,0002,265,088
4May 25, 2021 06:265,27347,832,82815,883,000992,0002,265,088
5May 25, 2021 06:265,27546,885,26314,894,0001,985,0002,265,088
6May 25, 2021 06:265,27636,081,94215,889,000993,0002,387,968
7May 25, 2021 06:265,27741,308,37114,900,0001,986,0002,265,088
8May 25, 2021 06:265,27842,990,69314,903,0001,987,0002,396,160
9May 25, 2021 06:265,28442,596,30314,921,0001,989,0002,387,968
10May 25, 2021 06:265,42975,604,52717,374,03202,281,472
11May 25, 2021 06:265,44776,205,00817,431,73302,273,280
12May 25, 2021 06:265,45440,045,21417,451,59302,273,280