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,897Success
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,83044,683,76617,620,0001,036,0002,269,184
2Jun 17, 2023 22:195,83349,047,35018,665,00002,277,376
3Jun 17, 2023 22:195,83346,117,56116,592,0002,074,0002,273,280
4Jun 17, 2023 22:195,84449,841,98117,662,0001,038,0002,277,376
5Jun 17, 2023 22:195,89249,485,98015,877,0002,977,0002,277,376
6Jun 17, 2023 22:195,89647,162,25217,874,000993,0002,289,664
7Jun 17, 2023 22:195,89745,153,24916,885,0001,986,0002,277,376
8Jun 17, 2023 22:195,89845,106,77016,886,0001,986,0002,277,376
9Jun 17, 2023 22:195,89849,829,45117,879,000993,0002,273,280
10Jun 17, 2023 22:196,06582,807,49619,409,20502,301,952
11Jun 17, 2023 22:196,07788,342,97719,446,18102,297,856
12Jun 17, 2023 22:196,11589,537,18719,569,34602,297,856