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 listApr 10, 2024 17:01Drew GarciaDrew GarciaScore: 5,374Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2024 17:015,33539,259,82216,067,0001,004,0002,281,472
2Apr 10, 2024 17:015,34342,296,53716,093,0001,005,0002,277,376
3Apr 10, 2024 17:015,35345,750,13016,123,0001,007,0002,281,472
4Apr 10, 2024 17:015,35641,810,43415,123,0002,016,0002,281,472
5Apr 10, 2024 17:015,36240,321,69914,131,0003,028,0002,281,472
6Apr 10, 2024 17:015,36940,721,72015,161,0002,021,0002,281,472
7Apr 10, 2024 17:015,37433,074,62516,185,0001,011,0002,281,472
8Apr 10, 2024 17:015,38244,518,43815,196,0002,026,0002,281,472
9Apr 10, 2024 17:015,39046,197,26015,218,0002,029,0002,281,472
10Apr 10, 2024 17:015,60283,296,32617,926,55702,207,744
11Apr 10, 2024 17:015,61297,821,39217,956,86402,179,072
12Apr 10, 2024 17:015,62080,686,91817,982,66902,301,952