結果

問題 No.820 Power of Two
ユーザー DakatanDakatan
提出日時 2019-06-19 01:10:15
言語 Ruby
(3.2.2)
結果
AC  
実行時間 88 ms / 2,000 ms
コード長 55 bytes
コンパイル時間 495 ms
コンパイル使用メモリ 11,236 KB
実行使用メモリ 15,352 KB
最終ジャッジ日時 2023-08-20 07:10:22
合計ジャッジ時間 2,162 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
15,252 KB
testcase_01 AC 82 ms
15,232 KB
testcase_02 AC 84 ms
15,148 KB
testcase_03 AC 81 ms
15,292 KB
testcase_04 AC 81 ms
15,112 KB
testcase_05 AC 82 ms
15,352 KB
testcase_06 AC 86 ms
15,292 KB
testcase_07 AC 88 ms
15,152 KB
testcase_08 AC 82 ms
15,304 KB
testcase_09 AC 82 ms
15,236 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

n, k = gets.split(" ").map(&:to_i)
puts 2 ** n / 2 ** k
0