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 24, 2023 09:10DarkclainerDarkclainerScore: 4,949Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 24, 2023 09:104,88638,911,92115,634,00002,527,232
2Feb 24, 2023 09:104,88835,092,63114,600,0001,042,0002,379,776
3Feb 24, 2023 09:104,89134,337,03914,609,0001,043,0002,269,184
4Feb 24, 2023 09:104,89341,144,72715,658,00002,269,184
5Feb 24, 2023 09:104,89638,763,79715,667,00002,379,776
6Feb 24, 2023 09:104,90142,023,37715,682,00002,383,872
7Feb 24, 2023 09:104,94934,787,97313,857,0001,979,0002,383,872
8Feb 24, 2023 09:104,95843,734,43413,882,0001,983,0002,473,984
9Feb 24, 2023 09:104,96146,560,11014,883,000992,0002,473,984
10Feb 24, 2023 09:105,11487,589,48616,364,89702,236,416
11Feb 24, 2023 09:105,14069,021,62416,449,12502,240,512
12Feb 24, 2023 09:105,17081,051,26016,545,20802,240,512