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 listDec 28, 2024 23:16korey-skorey-sScore: 8,433Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 28, 2024 23:168,40159,070,37524,892,0001,991,0002,363,392
2Dec 28, 2024 23:168,40551,970,88526,896,00002,289,664
3Dec 28, 2024 23:168,40754,130,55125,906,000996,0002,371,584
4Dec 28, 2024 23:168,42354,762,81924,956,0001,996,0002,371,584
5Dec 28, 2024 23:168,43350,699,92725,988,000999,0002,289,664
6Dec 28, 2024 23:168,43754,889,51625,998,000999,0002,289,664
7Dec 28, 2024 23:168,46452,932,78326,081,0001,003,0002,367,488
8Dec 28, 2024 23:168,49950,117,17725,183,0002,014,0002,375,680
9Dec 28, 2024 23:168,59849,778,61526,494,0001,019,0002,289,664