結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
5,504 KB
testcase_01 AC 4 ms
5,504 KB
testcase_02 AC 4 ms
5,376 KB
testcase_03 AC 3 ms
5,504 KB
testcase_04 AC 54 ms
13,952 KB
testcase_05 AC 4 ms
5,504 KB
testcase_06 AC 3 ms
5,504 KB
testcase_07 AC 3 ms
5,504 KB
testcase_08 AC 3 ms
5,504 KB
testcase_09 AC 3 ms
5,632 KB
testcase_10 AC 3 ms
5,504 KB
testcase_11 AC 3 ms
5,504 KB
testcase_12 AC 3 ms
5,504 KB
testcase_13 AC 9 ms
6,656 KB
testcase_14 AC 22 ms
9,216 KB
testcase_15 AC 48 ms
13,824 KB
testcase_16 AC 47 ms
13,696 KB
testcase_17 AC 24 ms
9,472 KB
testcase_18 AC 13 ms
7,552 KB
testcase_19 AC 43 ms
13,056 KB
testcase_20 AC 42 ms
13,056 KB
testcase_21 AC 29 ms
10,368 KB
testcase_22 AC 38 ms
12,416 KB
testcase_23 AC 7 ms
6,016 KB
testcase_24 AC 4 ms
5,632 KB
testcase_25 AC 26 ms
9,728 KB
testcase_26 AC 49 ms
14,336 KB
testcase_27 AC 39 ms
12,416 KB
testcase_28 AC 54 ms
15,360 KB
testcase_29 AC 30 ms
10,752 KB
testcase_30 AC 28 ms
10,368 KB
testcase_31 AC 47 ms
13,696 KB
testcase_32 AC 33 ms
11,264 KB
testcase_33 AC 55 ms
14,336 KB
testcase_34 AC 57 ms
14,336 KB
testcase_35 AC 55 ms
14,336 KB
testcase_36 AC 55 ms
14,336 KB
testcase_37 AC 55 ms
14,336 KB
testcase_38 AC 57 ms
14,336 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

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