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 15, 2024 18:38ii14ii14Score: 5,818Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 15, 2024 18:385,78940,979,10514,409,0004,116,0002,396,160
2Jun 15, 2024 18:385,79440,739,30317,512,0001,030,0002,519,040
3Jun 15, 2024 18:385,79634,235,18117,517,0001,030,0002,392,064
4Jun 15, 2024 18:385,80140,943,46216,500,0002,062,0002,383,872
5Jun 15, 2024 18:385,80542,380,23718,575,00002,519,040
6Jun 15, 2024 18:385,80740,810,90418,582,00002,519,040
7Jun 15, 2024 18:385,81846,339,51517,585,0001,034,0002,519,040
8Jun 15, 2024 18:385,82635,907,69918,642,00002,519,040
9Jun 15, 2024 18:385,84148,587,21017,708,000983,0002,519,040
10Jun 15, 2024 18:386,09498,437,71119,500,69202,281,472
11Jun 15, 2024 18:386,10884,878,56719,544,50802,277,376
12Jun 15, 2024 18:386,11870,890,04919,578,68502,289,664