結果

問題 No.16 累乗の加算
ユーザー tailstails
提出日時 2015-02-11 17:04:49
言語 Perl
(5.38.2)
結果
AC  
実行時間 56 ms / 5,000 ms
コード長 67 bytes
コンパイル時間 198 ms
コンパイル使用メモリ 11,164 KB
実行使用メモリ 11,308 KB
最終ジャッジ日時 2023-09-08 11:33:32
合計ジャッジ時間 1,674 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 41 ms
11,156 KB
testcase_01 AC 42 ms
11,192 KB
testcase_02 AC 56 ms
11,228 KB
testcase_03 AC 44 ms
11,084 KB
testcase_04 AC 46 ms
11,208 KB
testcase_05 AC 46 ms
11,280 KB
testcase_06 AC 50 ms
11,136 KB
testcase_07 AC 48 ms
11,084 KB
testcase_08 AC 53 ms
11,220 KB
testcase_09 AC 54 ms
11,004 KB
testcase_10 AC 50 ms
11,108 KB
testcase_11 AC 42 ms
11,308 KB
testcase_12 AC 50 ms
11,296 KB
testcase_13 AC 46 ms
11,192 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

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