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 listAug 17, 2024 05:09Yuriy LyfenkoYuriy LyfenkoScore: 4,653Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 17, 2024 05:094,58239,803,15912,569,0002,094,0002,387,968
2Aug 17, 2024 05:094,59936,084,34313,665,0001,051,0002,383,872
3Aug 17, 2024 05:094,60840,756,07914,747,00002,392,064
4Aug 17, 2024 05:094,64942,889,14612,894,0001,983,0002,396,160
5Aug 17, 2024 05:094,65147,855,94913,890,000992,0002,387,968
6Aug 17, 2024 05:094,65133,732,47213,890,000992,0002,400,256
7Aug 17, 2024 05:094,65336,617,87212,903,0001,985,0002,387,968
8Aug 17, 2024 05:094,65441,853,41311,914,0002,978,0002,535,424
9Aug 17, 2024 05:094,66130,287,78012,927,0001,988,0002,387,968
10Aug 17, 2024 05:094,92882,534,78915,770,73402,265,088
11Aug 17, 2024 05:094,94389,055,00715,816,66302,273,280
12Aug 17, 2024 05:094,95889,422,53015,866,36602,269,184