結果

問題 No.1086 桁和の桁和2
ユーザー tailstails
提出日時 2020-07-10 17:56:39
言語 cLay
(20231016-1)
結果
AC  
実行時間 115 ms / 3,000 ms
コード長 118 bytes
コンパイル時間 3,163 ms
コンパイル使用メモリ 173,152 KB
実行使用メモリ 7,856 KB
最終ジャッジ日時 2023-09-19 00:45:45
合計ジャッジ時間 6,929 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
5,420 KB
testcase_01 AC 2 ms
5,312 KB
testcase_02 AC 2 ms
5,368 KB
testcase_03 AC 2 ms
5,332 KB
testcase_04 AC 2 ms
5,384 KB
testcase_05 AC 105 ms
7,704 KB
testcase_06 AC 2 ms
5,324 KB
testcase_07 AC 2 ms
5,364 KB
testcase_08 AC 2 ms
5,332 KB
testcase_09 AC 2 ms
5,320 KB
testcase_10 AC 67 ms
7,252 KB
testcase_11 AC 19 ms
5,744 KB
testcase_12 AC 5 ms
5,380 KB
testcase_13 AC 83 ms
7,476 KB
testcase_14 AC 52 ms
6,868 KB
testcase_15 AC 16 ms
5,612 KB
testcase_16 AC 80 ms
7,436 KB
testcase_17 AC 9 ms
5,620 KB
testcase_18 AC 111 ms
7,856 KB
testcase_19 AC 92 ms
7,476 KB
testcase_20 AC 13 ms
5,596 KB
testcase_21 AC 79 ms
7,284 KB
testcase_22 AC 110 ms
7,672 KB
testcase_23 AC 69 ms
7,016 KB
testcase_24 AC 47 ms
6,592 KB
testcase_25 AC 93 ms
7,540 KB
testcase_26 AC 77 ms
7,292 KB
testcase_27 AC 55 ms
6,848 KB
testcase_28 AC 47 ms
6,604 KB
testcase_29 AC 52 ms
6,740 KB
testcase_30 AC 114 ms
7,776 KB
testcase_31 AC 113 ms
7,704 KB
testcase_32 AC 114 ms
7,768 KB
testcase_33 AC 114 ms
7,776 KB
testcase_34 AC 115 ms
7,668 KB
testcase_35 AC 104 ms
7,672 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll n,l[3d5];Mint a=10,b=1;{rd(n,l(3n));rep(i,n)l[2n+i]?b*=(a**l[n+i]-a**l[i])/9+(i&&l[2n+i]==l[2n+i-1]):b=b==1;wt(b);}
0