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, 2024 02:51zielajzielajScore: 5,837Success
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, 2024 03:175,798101,142,64618,553,90502,301,952
2Aug 2, 2024 03:185,80683,380,74218,578,23102,306,048
3Aug 2, 2024 02:515,807109,523,40418,580,98202,301,952
4Aug 2, 2024 03:185,82389,640,42718,632,69502,306,048
5Aug 2, 2024 03:135,82580,255,53618,639,01902,301,952
6Aug 2, 2024 03:175,82866,100,03118,650,36402,301,952
7Aug 2, 2024 02:515,837102,926,23718,678,23802,301,952
8Aug 2, 2024 02:515,83985,031,19418,684,96902,179,072
9Aug 2, 2024 03:175,84179,826,87518,692,10902,301,952
10Aug 2, 2024 03:135,84294,411,04518,695,86702,297,856
11Aug 2, 2024 03:135,87690,943,30718,803,59302,306,048
12Aug 2, 2024 03:185,88462,803,15818,830,36702,174,976