結果
問題 | No.820 Power of Two |
ユーザー | DrqYuto |
提出日時 | 2021-07-29 20:59:20 |
言語 | Ruby (3.3.0) |
結果 |
MLE
|
実行時間 | - |
コード長 | 66 bytes |
コンパイル時間 | 374 ms |
コンパイル使用メモリ | 11,168 KB |
実行使用メモリ | 569,020 KB |
最終ジャッジ日時 | 2023-10-12 19:03:01 |
合計ジャッジ時間 | 4,212 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 80 ms
19,652 KB |
testcase_01 | AC | 78 ms
15,056 KB |
testcase_02 | MLE | - |
testcase_03 | -- | - |
testcase_04 | -- | - |
testcase_05 | -- | - |
testcase_06 | -- | - |
testcase_07 | -- | - |
testcase_08 | -- | - |
testcase_09 | -- | - |
コンパイルメッセージ
Syntax OK
ソースコード
a,b=gets.split.map(&:to_i) p [*2**b..2**a].select{_1%2**b==0}.size