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 24, 2022 10:02Robert BurkeRobert BurkeScore: 4,653Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2022 10:024,64636,826,31712,884,0001,982,0002,441,216
2Jul 24, 2022 10:024,64844,302,74914,874,00002,281,472
3Jul 24, 2022 10:024,65129,799,13713,890,000992,0002,281,472
4Jul 24, 2022 10:024,65235,599,12913,893,000992,0002,281,472
5Jul 24, 2022 10:024,65230,124,21613,894,000992,0002,437,120
6Jul 24, 2022 10:024,65235,198,71313,895,000992,0002,433,024
7Jul 24, 2022 10:024,65335,460,22813,896,000992,0002,281,472
8Jul 24, 2022 10:024,65731,017,47013,909,000993,0002,523,136
9Jul 24, 2022 10:024,65738,175,43414,903,00002,281,472
10Jul 24, 2022 10:024,85682,339,79915,537,80202,191,360
11Jul 24, 2022 10:024,85687,067,19615,537,87802,195,456
12Jul 24, 2022 10:024,86862,611,91715,577,27302,199,552