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 17, 2021 23:12Yuriy LyfenkoYuriy LyfenkoScore: 5,268Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 23:125,2352,179,295,53315,766,000985,0002,265,088
2May 17, 2021 23:125,2351,204,153,31512,810,0003,941,0002,527,232
3May 17, 2021 23:125,239338,457,96315,778,000986,0002,265,088
4May 17, 2021 23:125,2441,191,863,59714,808,0001,974,0002,260,992
5May 17, 2021 23:125,2482,361,092,32515,806,000987,0002,519,040
6May 17, 2021 23:125,2482,047,232,23114,818,0001,975,0002,265,088
7May 17, 2021 23:125,2682,771,090,37814,873,0001,983,0002,260,992
8May 17, 2021 23:125,2882,803,579,81812,939,0003,981,0002,519,040
9May 17, 2021 23:125,310884,735,12016,048,000944,0002,523,136
10May 17, 2021 23:125,4322,785,183,59617,381,11702,277,376
11May 17, 2021 23:125,440122,943,71517,406,63602,281,472
12May 17, 2021 23:125,464831,049,38117,485,45002,285,568