結果

問題 No.2007 Arbitrary Mod (Easy)
ユーザー cielciel
提出日時 2022-10-24 01:52:58
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 64 bytes
コンパイル時間 59 ms
コンパイル使用メモリ 11,560 KB
実行使用メモリ 15,412 KB
最終ジャッジ日時 2023-09-15 08:46:19
合計ジャッジ時間 7,718 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 79 ms
15,244 KB
testcase_02 AC 80 ms
15,160 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 78 ms
15,116 KB
testcase_11 AC 80 ms
15,028 KB
testcase_12 WA -
testcase_13 AC 79 ms
15,324 KB
testcase_14 AC 80 ms
15,092 KB
testcase_15 AC 78 ms
15,080 KB
testcase_16 AC 78 ms
15,096 KB
testcase_17 AC 79 ms
15,160 KB
testcase_18 AC 78 ms
15,152 KB
testcase_19 AC 79 ms
15,160 KB
testcase_20 AC 80 ms
15,152 KB
testcase_21 AC 80 ms
15,076 KB
testcase_22 AC 79 ms
15,232 KB
testcase_23 AC 79 ms
15,144 KB
testcase_24 AC 78 ms
15,024 KB
testcase_25 AC 79 ms
15,024 KB
testcase_26 AC 78 ms
15,116 KB
testcase_27 AC 79 ms
15,208 KB
testcase_28 AC 79 ms
15,148 KB
testcase_29 AC 81 ms
15,128 KB
testcase_30 AC 80 ms
15,132 KB
testcase_31 AC 79 ms
15,140 KB
testcase_32 AC 79 ms
15,124 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

a,n=gets.split.map &:to_i
b=1
n.times{break if 1e7<b*=a}
p b
p 0
0