F(14,{2,3,5,7,11,13}) =
MAX (
2 * F(12 ,{2,3,5,7,11,13}) ,
F(14 ,{3,5,7,11,13} ) ,
F(16,{3,5,7,11,13}) =
MAX (
3 * F(3 ,{2,3,5,7,11,13}) ,
F(16 ,{5,7,11,13} ) ,
#include <stdio.h> input( unsigned * main( &n ); printf(, maxmul( n , 素數集合 ) ); u1 > u2 ? ( 素數集合為空 || n < ( n ==* maxmul_( n - ( n < ) input( unsigned *
prime_list ** P_LIST;
P_LIST pr_list = NULL ;
pr_list = build( n );
prime_list ** build_( P_LIST * , P_LIST * add ( P_LIST * * my_malloc( P_LIST * my_malloc( P_LIST * ( ( * pp = malloc( (* * pp) )) == add ( P_LIST * * ppp_e, unsigned ** * ppp_e ) -> prime =* * ppp_e ) -> next =* ppp_e = & ( * * ppp_e ) -> ( n == || p == ( n % p -> prime == be_prime( n , p -> build_( P_LIST * pp_b , P_LIST *( num > ( be_prime( num , *pp_b ) ==&pp_e , num ) ; + =&head , &head , , n );