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 listJun 8, 2024 18:31AndreyTSAndreyTSScore: 5,525Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 18:315,47542,165,20816,491,0001,030,0002,289,664
2Jun 8, 2024 18:315,47840,206,54216,497,0001,031,0002,289,664
3Jun 8, 2024 18:315,49737,075,67716,555,0001,034,0002,289,664
4Jun 8, 2024 18:315,49836,688,76816,558,0001,034,0002,289,664
5Jun 8, 2024 18:315,50345,661,75917,609,00002,281,472
6Jun 8, 2024 18:315,51344,132,54617,643,00002,289,664
7Jun 8, 2024 18:315,52549,328,99516,641,0001,040,0002,289,664
8Jun 8, 2024 18:315,53853,498,97317,722,00002,531,328
9Jun 8, 2024 18:315,53947,551,96016,684,0001,042,0002,523,136
10Jun 8, 2024 18:315,71594,366,39218,286,51402,301,952
11Jun 8, 2024 18:315,77585,750,24318,478,40102,179,072
12Jun 8, 2024 18:315,78775,130,90918,519,94402,179,072