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:23Ulyanov 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:235,84146,185,88317,652,0001,038,0002,273,280
2Jun 17, 2023 22:235,84143,713,78517,654,0001,038,0002,277,376
3Jun 17, 2023 22:235,84246,488,88617,657,0001,038,0002,277,376
4Jun 17, 2023 22:235,85548,402,24517,695,0001,040,0002,277,376
5Jun 17, 2023 22:235,89539,311,82617,872,000992,0002,273,280
6Jun 17, 2023 22:235,89744,933,58416,884,0001,986,0002,277,376
7Jun 17, 2023 22:235,89743,831,79516,885,0001,986,0002,277,376
8Jun 17, 2023 22:235,90253,327,50416,899,0001,988,0002,277,376
9Jun 17, 2023 22:235,90336,959,64716,902,0001,988,0002,277,376
10Jun 17, 2023 22:236,06186,482,95119,394,80802,306,048
11Jun 17, 2023 22:236,06699,832,18919,411,60902,289,664
12Jun 17, 2023 22:236,10680,977,76319,538,68302,301,952