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 listJan 21, 2024 08:07AnSaAnSaScore: 5,281Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 08:075,26834,254,65615,867,000991,0002,396,160
2Jan 21, 2024 08:075,27149,229,41714,884,0001,984,0002,281,472
3Jan 21, 2024 08:075,27145,084,43914,884,0001,984,0002,281,472
4Jan 21, 2024 08:075,27234,122,68214,885,0001,984,0002,404,352
5Jan 21, 2024 08:075,27439,579,21514,893,0001,985,0002,281,472
6Jan 21, 2024 08:075,27631,363,45916,883,00002,396,160
7Jan 21, 2024 08:075,28133,890,87314,912,0001,988,0002,396,160
8Jan 21, 2024 08:075,29549,814,74615,948,000996,0002,281,472
9Jan 21, 2024 08:075,30644,438,95315,982,000998,0002,281,472
10Jan 21, 2024 08:075,45487,675,64117,452,12402,285,568
11Jan 21, 2024 08:075,46981,477,02817,499,22602,289,664
12Jan 21, 2024 08:075,47455,861,45917,515,64002,281,472