結果

問題 No.16 累乗の加算
ユーザー なおなお
提出日時 2015-02-10 18:28:02
言語 Perl
(5.38.2)
結果
AC  
実行時間 57 ms / 5,000 ms
コード長 81 bytes
コンパイル時間 669 ms
コンパイル使用メモリ 11,144 KB
実行使用メモリ 11,492 KB
最終ジャッジ日時 2023-09-08 11:33:28
合計ジャッジ時間 2,008 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 42 ms
11,176 KB
testcase_01 AC 41 ms
11,200 KB
testcase_02 AC 57 ms
11,168 KB
testcase_03 AC 45 ms
11,392 KB
testcase_04 AC 45 ms
11,232 KB
testcase_05 AC 47 ms
11,224 KB
testcase_06 AC 50 ms
11,100 KB
testcase_07 AC 48 ms
11,224 KB
testcase_08 AC 52 ms
11,188 KB
testcase_09 AC 53 ms
11,220 KB
testcase_10 AC 49 ms
11,220 KB
testcase_11 AC 41 ms
11,416 KB
testcase_12 AC 49 ms
11,492 KB
testcase_13 AC 45 ms
11,236 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

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