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 13, 2024 12:55AndreyTSAndreyTSScore: 5,497Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2024 12:555,44939,668,69216,413,0001,025,0002,273,280
2Jun 13, 2024 12:555,45939,305,91016,443,0001,027,0002,289,664
3Jun 13, 2024 12:555,46035,327,68616,446,0001,027,0002,289,664
4Jun 13, 2024 12:555,46539,925,58816,459,0001,028,0002,289,664
5Jun 13, 2024 12:555,47241,301,12716,481,0001,030,0002,273,280
6Jun 13, 2024 12:555,48236,686,51617,542,00002,273,280
7Jun 13, 2024 12:555,49742,469,62716,557,0001,034,0002,277,376
8Jun 13, 2024 12:555,50340,057,27716,574,0001,035,0002,289,664
9Jun 13, 2024 12:555,53143,711,73816,659,0001,041,0002,359,296
10Jun 13, 2024 12:555,71376,044,24818,281,72302,179,072
11Jun 13, 2024 12:555,72081,040,24718,302,78102,297,856
12Jun 13, 2024 12:555,77690,487,59918,482,67502,297,856