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 listFeb 17, 2023 20:27LiamLiamScore: 5,590Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 17, 2023 20:275,57541,048,30914,866,0002,973,0002,408,448
2Feb 17, 2023 20:275,58241,823,64816,871,000992,0002,416,640
3Feb 17, 2023 20:275,58646,226,91517,875,00002,273,280
4Feb 17, 2023 20:275,58743,756,50816,886,000993,0002,273,280
5Feb 17, 2023 20:275,58950,516,25516,892,000993,0002,400,256
6Feb 17, 2023 20:275,58942,090,46214,905,0002,981,0002,408,448
7Feb 17, 2023 20:275,59041,659,27016,895,000993,0002,523,136
8Feb 17, 2023 20:275,59342,380,15716,904,000994,0002,273,280
9Feb 17, 2023 20:275,59546,919,31417,905,00002,273,280
10Feb 17, 2023 20:275,78666,204,26718,515,18702,289,664
11Feb 17, 2023 20:275,79872,457,32518,553,43002,293,760
12Feb 17, 2023 20:275,80989,258,33418,590,13902,297,856