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 2, 2022 07:50Robert BurkeRobert BurkeError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 2, 2022 07:5000000Error: expected "975411 ", got "975410 "stderr
2Aug 2, 2022 07:5100000Error: expected "974544 ", got "974543 "stderr
3Aug 2, 2022 07:5100000Error: expected "975880 ", got "975879 "stderr
4Aug 2, 2022 07:5100000Error: expected "976526 ", got "976527 "stderr
5Aug 2, 2022 07:5200000Error: expected "978424 ", got "978425 "stderr
6Aug 2, 2022 07:5200000Error: expected "976793 ", got "976792 "stderr
7Aug 2, 2022 07:5200000Error: expected "976775 ", got "976774 "stderr
8Aug 2, 2022 07:524,92086,913,65615,745,39602,195,456
9Aug 2, 2022 07:524,94686,738,47915,827,46502,195,456
10Aug 2, 2022 07:524,96284,279,02315,876,91902,191,360