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 1, 2021 11:18Ilya AniskovetsIlya AniskovetsScore: 5,580Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2021 11:185,50146,283,52316,567,0001,035,0002,273,280
2Nov 1, 2021 11:185,50234,120,28617,605,00002,273,280
3Nov 1, 2021 11:185,50433,202,72916,576,0001,036,0002,273,280
4Nov 1, 2021 11:185,50641,540,47216,584,0001,036,0002,277,376
5Nov 1, 2021 11:185,52244,164,19616,630,0001,039,0002,269,184
6Nov 1, 2021 11:185,53445,449,24816,669,0001,041,0002,289,664
7Nov 1, 2021 11:185,58037,385,77317,855,00002,289,664
8Nov 1, 2021 11:185,58643,125,95816,883,000993,0002,383,872
9Nov 1, 2021 11:185,59355,592,57615,909,0001,988,0002,269,184
10Nov 1, 2021 11:185,65584,038,71318,096,88002,301,952
11Nov 1, 2021 11:185,66681,027,31318,132,20502,289,664
12Nov 1, 2021 11:185,67959,648,78818,173,91302,179,072