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:23DarkclainerDarkclainerScore: 5,187Success
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:235,14846,749,63416,473,00002,531,328
2Feb 23, 2023 11:235,15940,781,24416,510,00002,531,328
3Feb 23, 2023 11:235,16339,157,42615,490,0001,032,0002,486,272
4Feb 23, 2023 11:235,16438,725,90815,492,0001,032,0002,379,776
5Feb 23, 2023 11:235,17336,216,10416,555,00002,269,184
6Feb 23, 2023 11:235,18637,152,00116,594,00002,506,752
7Feb 23, 2023 11:235,18735,548,72915,561,0001,037,0002,269,184
8Feb 23, 2023 11:235,18933,493,06415,567,0001,037,0002,387,968
9Feb 23, 2023 11:235,19543,419,82115,586,0001,039,0002,375,680
10Feb 23, 2023 11:235,36396,638,69017,161,32002,240,512
11Feb 23, 2023 11:235,36672,786,68717,171,46502,236,416
12Feb 23, 2023 11:235,40291,614,77417,287,93602,244,608