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 listNov 5, 2024 16:16kauruuskauruusScore: 837,413Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 5, 2024 16:16835,1922,701,708,5632,485,711,000186,903,0002,510,848
2Nov 5, 2024 16:16836,0882,700,185,4212,482,590,000192,890,0002,514,944
3Nov 5, 2024 16:16836,6792,706,431,3382,494,484,000182,888,0002,514,944
4Nov 5, 2024 16:16837,3032,707,416,9242,482,491,000196,880,0002,359,296
5Nov 5, 2024 16:16837,4132,704,248,8992,476,819,000202,903,0002,326,528
6Nov 5, 2024 16:16837,4932,705,946,0142,482,053,000197,924,0002,437,120
7Nov 5, 2024 16:16837,6022,710,080,1152,485,447,000194,878,0002,326,528
8Nov 5, 2024 16:16837,6922,706,190,2302,486,715,000193,899,0002,396,160
9Nov 5, 2024 16:16837,7702,710,825,6682,496,943,000183,922,0002,433,024