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:33emily graceemily graceScore: 5,484Success
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:445,43380,901,46917,384,45302,256,896
2Apr 10, 2024 17:445,44483,740,86717,420,89402,260,992
3Apr 10, 2024 17:445,44674,162,21017,428,60502,269,184
4Apr 10, 2024 17:345,45363,270,38217,449,50302,260,992
5Apr 10, 2024 17:445,46183,127,56017,476,75802,269,184
6Apr 10, 2024 17:335,46667,979,11117,491,84102,273,280
7Apr 10, 2024 17:345,46885,147,39617,496,84702,269,184
8Apr 10, 2024 17:445,48491,762,22717,548,43202,269,184
9Apr 10, 2024 17:335,48789,834,77017,557,64002,265,088
10Apr 10, 2024 17:335,488102,202,42117,562,89002,265,088
11Apr 10, 2024 17:345,49089,931,81417,567,20902,256,896
12Apr 10, 2024 17:445,49185,612,43717,572,23302,281,472
13Apr 10, 2024 17:445,49892,865,74817,592,32502,265,088
14Apr 10, 2024 17:445,51169,024,14617,634,25602,273,280
15Apr 10, 2024 17:445,53787,481,60817,718,90002,277,376