2022-07-02から1日間の記事一覧

AtCoder Beginner Contest 256 A

https://atcoder.jp/contests/abc256/tasks/abc256_aビットシフトを使えば簡単ですが、pow関数は使えないのでしょうか。 let N: i32 = read(); println!("{}", 2.pow(N)) error[E0689]: can't call method `pow` on ambiguous numeric type `{integer}`2だと…