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 17, 2023 22:19Ulyanov AlekseyUlyanov AlekseyScore: 5,898Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2023 22:195,84339,967,70617,660,0001,038,0002,277,376
2Jun 17, 2023 22:195,84446,422,06915,585,0003,117,0002,277,376
3Jun 17, 2023 22:195,84750,295,99617,670,0001,039,0002,277,376
4Jun 17, 2023 22:195,84740,392,52117,672,0001,039,0002,277,376
5Jun 17, 2023 22:195,89144,690,26317,860,000992,0002,375,680
6Jun 17, 2023 22:195,89843,153,90715,893,0002,980,0002,273,280
7Jun 17, 2023 22:195,89843,709,76316,887,0001,986,0002,277,376
8Jun 17, 2023 22:195,89838,802,56316,887,0001,986,0002,277,376
9Jun 17, 2023 22:195,90844,102,47817,854,0001,050,0002,371,584
10Jun 17, 2023 22:196,07391,385,12219,433,86102,301,952
11Jun 17, 2023 22:196,09587,601,72319,503,95102,301,952
12Jun 17, 2023 22:196,10092,782,16619,519,99802,297,856