警钟敲烂

P1634 禽兽的传染病

@[a1Ex999](/user/1346074) 你其实已经触犯尼姑法律了,建议紫衫代码
by _mei_tou_nao_ @ 2024-08-13 14:31:25


``` #include<iostream> using namespace std; int main(){ long long x,n,tot=1; cin>>x>>n; for(int i=0;i<n;i++){ tot=tot+tot*x; } cout<<tot; return 0; } ```
by gyx20141112 @ 2024-08-15 15:54:47


|