Codeforces Round #581 DIV2 B問題 - Mislove Has Lost an Array

Source

Codeforces Round #581 DIV2 B問題 (750pt)
Problem description

問題概要

省略

解法

省略

cLayversion 20190820-1)のコード

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)

ログイン: