// #pragma GCC target("avx") // CPU 処理並列化 // #pragma GCC optimize("O3") // CPU 処理並列化 // #pragma GCC optimize("unroll-loops") // 条件処理の呼び出しを減らす // #define BEGIN_STACK_EXTEND(size) void * stack_extend_memory_ = malloc(size);void * stack_extend_origin_memory_;char * stack_extend_dummy_memory_ = (char*)alloca((1+(int)(((long long)stack_extend_memory_)&127))*16);*stack_extend_dummy_memory_ = 0;asm volatile("mov %%rsp, %%rbx\nmov %%rax, %%rsp":"=b"(stack_extend_origin_memory_):"a"((char*)stack_extend_memory_+(size)-1024)); // #define END_STACK_EXTEND asm volatile("mov %%rax, %%rsp"::"a"(stack_extend_origin_memory_));free(stack_extend_memory_); #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; const long long mod=998244353; const long long inf=mod*mod; const long long d2=(mod+1)/2; const double EPS=1e-11; const double INF=1e+10; const double PI=acos(-1.0); const int C_SIZE = 11100000; const int UF_SIZE = 3100000; namespace{ long long fact[C_SIZE]; long long finv[C_SIZE]; long long inv[C_SIZE]; inline long long Comb(int a,int b){ if(a +EPS) ? +1 : 0; } int UF[UF_SIZE]; void init_UF(int n){ for(int i=0;iUF[b])swap(a,b); UF[a]+=UF[b];UF[b]=a; } } // ここから編集しろ int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c); init_C(310000); long long ret=0; for(int i=0;i<=c;i++){ long long tmp=Comb(c,i)*(pw(b+i,a))%mod; if(c%2==i%2){ ret=(ret+tmp)%mod; }else{ ret=(ret+mod-tmp)%mod; } } // printf("%lld\n",ret); ret=ret*Comb(b,c)%mod; printf("%lld\n",ret); }