結果

問題 No.16 累乗の加算
ユーザー なおなお
提出日時 2014-12-21 11:01:31
言語 Perl
(5.38.2)
結果
AC  
実行時間 57 ms / 5,000 ms
コード長 83 bytes
コンパイル時間 869 ms
コンパイル使用メモリ 11,352 KB
実行使用メモリ 11,336 KB
最終ジャッジ日時 2023-09-08 11:31:04
合計ジャッジ時間 2,319 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 41 ms
11,316 KB
testcase_01 AC 41 ms
11,172 KB
testcase_02 AC 57 ms
11,332 KB
testcase_03 AC 47 ms
11,120 KB
testcase_04 AC 45 ms
11,236 KB
testcase_05 AC 46 ms
11,188 KB
testcase_06 AC 49 ms
11,176 KB
testcase_07 AC 47 ms
11,172 KB
testcase_08 AC 50 ms
11,336 KB
testcase_09 AC 53 ms
11,184 KB
testcase_10 AC 50 ms
11,248 KB
testcase_11 AC 41 ms
11,336 KB
testcase_12 AC 49 ms
11,100 KB
testcase_13 AC 45 ms
11,124 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

use bigint;<>=~/ /;$x=$`;$r+=(0+$x)->bmodpow($_,1e6+3)for<>=~/\S+/g;print$r%1000003
0