結果

問題 No.251 大きな桁の復習問題(1)
ユーザー simansiman
提出日時 2022-06-27 11:52:16
言語 Ruby
(3.3.0)
結果
AC  
実行時間 2,571 ms / 5,000 ms
コード長 66 bytes
コンパイル時間 376 ms
コンパイル使用メモリ 11,444 KB
実行使用メモリ 90,580 KB
最終ジャッジ日時 2023-08-12 02:33:51
合計ジャッジ時間 31,479 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 80 ms
15,336 KB
testcase_01 AC 79 ms
15,252 KB
testcase_02 AC 83 ms
15,160 KB
testcase_03 AC 82 ms
15,124 KB
testcase_04 AC 81 ms
15,156 KB
testcase_05 AC 81 ms
15,300 KB
testcase_06 AC 81 ms
15,048 KB
testcase_07 AC 83 ms
15,124 KB
testcase_08 AC 83 ms
15,160 KB
testcase_09 AC 2,571 ms
90,540 KB
testcase_10 AC 2,513 ms
90,524 KB
testcase_11 AC 2,529 ms
90,580 KB
testcase_12 AC 2,560 ms
90,240 KB
testcase_13 AC 2,535 ms
90,400 KB
testcase_14 AC 2,544 ms
90,376 KB
testcase_15 AC 2,546 ms
90,580 KB
testcase_16 AC 2,560 ms
90,516 KB
testcase_17 AC 2,541 ms
90,268 KB
testcase_18 AC 2,478 ms
90,472 KB
testcase_19 AC 2,537 ms
90,236 KB
testcase_20 AC 82 ms
15,160 KB
testcase_21 AC 78 ms
15,260 KB
testcase_22 AC 78 ms
15,336 KB
testcase_23 AC 78 ms
15,284 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

N = gets.to_i
M = gets.to_i
MOD = 129_402_307

puts N.pow(M, MOD)
0