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 listApr 10, 2024 17:12emily graceemily graceScore: 5,459Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2024 17:135,43065,213,81617,374,80002,289,664
2Apr 10, 2024 17:135,43191,919,62717,377,64902,281,472
3Apr 10, 2024 17:205,43760,821,14917,397,54302,277,376
4Apr 10, 2024 17:205,43970,882,44017,404,59302,289,664
5Apr 10, 2024 17:215,44080,889,24717,406,58502,289,664
6Apr 10, 2024 17:135,44194,478,48017,411,28602,293,760
7Apr 10, 2024 17:125,45394,071,98717,450,82602,281,472
8Apr 10, 2024 17:215,45971,300,12917,467,72702,289,664
9Apr 10, 2024 17:125,46382,388,99917,481,43502,289,664
10Apr 10, 2024 17:205,47299,759,17617,511,56702,281,472
11Apr 10, 2024 17:125,47582,512,48817,519,48302,293,760
12Apr 10, 2024 17:125,48176,771,65617,540,50302,281,472
13Apr 10, 2024 17:125,50385,042,64617,608,79902,293,760
14Apr 10, 2024 17:215,51259,568,88917,637,41802,293,760
15Apr 10, 2024 17:125,51868,766,62317,657,53102,289,664