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 19, 2023 21:51Ulyanov AlekseyUlyanov AlekseyScore: 5,523Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2023 21:515,49845,559,56817,595,00002,289,664
2Jun 19, 2023 21:515,50033,103,38617,601,00002,289,664
3Jun 19, 2023 21:515,50146,294,71716,568,0001,035,0002,289,664
4Jun 19, 2023 21:515,50337,681,60516,573,0001,035,0002,289,664
5Jun 19, 2023 21:515,51244,340,41116,600,0001,037,0002,289,664
6Jun 19, 2023 21:515,52247,645,32916,630,0001,039,0002,273,280
7Jun 19, 2023 21:515,52348,044,04116,633,0001,039,0002,289,664
8Jun 19, 2023 21:515,53446,439,60817,710,00002,289,664
9Jun 19, 2023 21:515,58045,802,63515,872,0001,984,0002,289,664
10Jun 19, 2023 21:515,624110,012,17517,995,82602,297,856
11Jun 19, 2023 21:515,64799,478,56718,070,66102,301,952
12Jun 19, 2023 21:515,65094,962,77318,080,24202,174,976