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 listFeb 23, 2023 11:09DarkclainerDarkclainerScore: 5,275Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 23, 2023 11:095,22333,904,68016,712,00002,269,184
2Feb 23, 2023 11:095,26334,012,64614,859,0001,981,0002,379,776
3Feb 23, 2023 11:095,27346,774,97414,888,0001,985,0002,383,872
4Feb 23, 2023 11:095,27445,383,01615,885,000992,0002,269,184
5Feb 23, 2023 11:095,27442,971,19614,892,0001,985,0002,269,184
6Feb 23, 2023 11:095,27546,270,64615,887,000992,0002,269,184
7Feb 23, 2023 11:095,27542,678,77714,895,0001,986,0002,383,872
8Feb 23, 2023 11:095,27639,718,75414,897,0001,986,0002,265,088
9Feb 23, 2023 11:095,27748,358,90715,893,000993,0002,379,776
10Feb 23, 2023 11:095,43799,185,09617,397,03602,240,512
11Feb 23, 2023 11:095,45178,914,96217,443,98002,232,320
12Feb 23, 2023 11:095,48280,223,63417,543,27202,236,416