Codeforces Round #581 DIV2 B問題 (750pt)
Problem description
省略
省略
C++に変換後のコードはこちら
//no-unlocked
{
int N, L, R;
int res1 = 0, res2 = 0;
rd(N,L,R);
res1 = (1<<L) - 1 + (N - L);
res2 = (1<<R) - 1 + (N - R) * (1<<(R-1));
wt(res1, res2);
}
Current time: 2024年03月29日14時20分32秒
Last modified: 2019年08月21日05時02分09秒 (by laycrs)
Tags: Competitive_Programming_Incomplete Codeforces CF581 CF_Div2_B
トップページに戻る
Logged in as: unknown user (not login)