結果

問題 No.1085 桁和の桁和
ユーザー tailstails
提出日時 2020-07-10 16:47:33
言語 Perl
(5.38.2)
結果
AC  
実行時間 54 ms / 2,000 ms
コード長 81 bytes
コンパイル時間 262 ms
コンパイル使用メモリ 5,376 KB
実行使用メモリ 15,232 KB
最終ジャッジ日時 2024-04-24 10:12:28
合計ジャッジ時間 2,261 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
5,376 KB
testcase_01 AC 3 ms
5,504 KB
testcase_02 AC 3 ms
5,504 KB
testcase_03 AC 3 ms
5,376 KB
testcase_04 AC 53 ms
13,824 KB
testcase_05 AC 3 ms
5,376 KB
testcase_06 AC 3 ms
5,376 KB
testcase_07 AC 3 ms
5,376 KB
testcase_08 AC 3 ms
5,504 KB
testcase_09 AC 3 ms
5,376 KB
testcase_10 AC 3 ms
5,376 KB
testcase_11 AC 3 ms
5,376 KB
testcase_12 AC 3 ms
5,376 KB
testcase_13 AC 9 ms
6,528 KB
testcase_14 AC 21 ms
9,088 KB
testcase_15 AC 47 ms
13,824 KB
testcase_16 AC 46 ms
13,824 KB
testcase_17 AC 25 ms
9,216 KB
testcase_18 AC 13 ms
7,424 KB
testcase_19 AC 41 ms
12,928 KB
testcase_20 AC 41 ms
12,928 KB
testcase_21 AC 27 ms
10,240 KB
testcase_22 AC 36 ms
12,288 KB
testcase_23 AC 6 ms
6,144 KB
testcase_24 AC 3 ms
5,504 KB
testcase_25 AC 24 ms
9,728 KB
testcase_26 AC 46 ms
13,952 KB
testcase_27 AC 37 ms
12,416 KB
testcase_28 AC 53 ms
15,232 KB
testcase_29 AC 29 ms
10,624 KB
testcase_30 AC 27 ms
10,240 KB
testcase_31 AC 45 ms
13,696 KB
testcase_32 AC 31 ms
11,136 KB
testcase_33 AC 51 ms
14,208 KB
testcase_34 AC 52 ms
14,208 KB
testcase_35 AC 54 ms
14,336 KB
testcase_36 AC 52 ms
14,208 KB
testcase_37 AC 52 ms
14,208 KB
testcase_38 AC 51 ms
14,208 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

/\?/?$s=$s*10+1:($q+=$_)%=1e9+7for<>=~/./g;print-($d=<>)?$s+=$q&&$q%9==$d%9:0+!$q
0