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 12, 2024 03:28Yuriy LyfenkoYuriy LyfenkoScore: 4,443Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 03:284,404638,131,48212,080,0002,013,0002,265,088
2Jun 12, 2024 03:284,421640,932,90513,136,0001,010,0002,523,136
3Jun 12, 2024 03:284,430639,267,02112,151,0002,025,0002,523,136
4Jun 12, 2024 03:284,431643,437,78812,155,0002,025,0002,523,136
5Jun 12, 2024 03:284,433638,493,28213,172,0001,013,0002,265,088
6Jun 12, 2024 03:284,435642,132,80914,191,00002,523,136
7Jun 12, 2024 03:284,443637,281,61713,202,0001,015,0002,260,992
8Jun 12, 2024 03:284,459639,346,27013,250,0001,019,0002,260,992
9Jun 12, 2024 03:284,461642,692,42412,237,0002,039,0002,523,136
10Jun 12, 2024 03:284,621678,730,86914,785,87302,273,280
11Jun 12, 2024 03:284,643668,892,19714,858,37302,273,280
12Jun 12, 2024 03:284,644681,260,44914,859,59802,285,568