結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 43 ms
11,216 KB
testcase_01 AC 41 ms
11,100 KB
testcase_02 AC 56 ms
11,288 KB
testcase_03 AC 44 ms
11,276 KB
testcase_04 AC 44 ms
11,168 KB
testcase_05 AC 46 ms
11,156 KB
testcase_06 AC 50 ms
11,160 KB
testcase_07 AC 48 ms
11,288 KB
testcase_08 AC 52 ms
11,108 KB
testcase_09 AC 53 ms
11,296 KB
testcase_10 AC 49 ms
11,124 KB
testcase_11 AC 41 ms
11,196 KB
testcase_12 AC 48 ms
11,312 KB
testcase_13 AC 44 ms
11,384 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

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