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 listJul 19, 2022 18:07Franek KortaFranek KortaScore: 5,408Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 19, 2022 18:075,36448,941,04415,146,0002,019,0002,392,064
2Jul 19, 2022 18:075,38050,056,27415,192,0002,025,0002,494,464
3Jul 19, 2022 18:075,38244,781,10915,196,0002,026,0002,387,968
4Jul 19, 2022 18:075,39340,899,27416,244,0001,015,0002,383,872
5Jul 19, 2022 18:075,39537,575,28516,250,0001,015,0002,519,040
6Jul 19, 2022 18:075,40343,779,47414,238,0003,051,0002,519,040
7Jul 19, 2022 18:075,40648,892,37816,281,0001,017,0002,519,040
8Jul 19, 2022 18:075,40833,641,84015,269,0002,035,0002,519,040
9Jul 19, 2022 18:075,41038,049,40917,312,00002,519,040
10Jul 19, 2022 18:075,62582,387,63218,001,30702,285,568
11Jul 19, 2022 18:075,64680,149,85518,067,23802,285,568
12Jul 19, 2022 18:075,666107,419,64918,130,11702,281,472
13Jul 19, 2022 18:065,80078,874,94018,560,01502,293,760
14Jul 19, 2022 18:065,82978,807,93918,653,48902,293,760
15Jul 19, 2022 18:065,84985,062,04018,717,41102,293,760