結果

問題 No.1086 桁和の桁和2
ユーザー tailstails
提出日時 2020-07-10 17:47:26
言語 cLay
(20240104-1)
結果
AC  
実行時間 111 ms / 3,000 ms
コード長 130 bytes
コンパイル時間 2,492 ms
コンパイル使用メモリ 172,988 KB
実行使用メモリ 7,884 KB
最終ジャッジ日時 2023-09-19 00:45:32
合計ジャッジ時間 9,648 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
5,456 KB
testcase_01 AC 2 ms
5,492 KB
testcase_02 AC 2 ms
5,352 KB
testcase_03 AC 2 ms
5,364 KB
testcase_04 AC 2 ms
5,408 KB
testcase_05 AC 101 ms
7,728 KB
testcase_06 AC 2 ms
5,420 KB
testcase_07 AC 2 ms
5,344 KB
testcase_08 AC 2 ms
5,364 KB
testcase_09 AC 2 ms
5,332 KB
testcase_10 AC 64 ms
7,080 KB
testcase_11 AC 19 ms
5,868 KB
testcase_12 AC 5 ms
5,568 KB
testcase_13 AC 80 ms
7,408 KB
testcase_14 AC 51 ms
6,876 KB
testcase_15 AC 15 ms
5,828 KB
testcase_16 AC 79 ms
7,180 KB
testcase_17 AC 8 ms
5,512 KB
testcase_18 AC 108 ms
7,696 KB
testcase_19 AC 89 ms
7,380 KB
testcase_20 AC 13 ms
5,592 KB
testcase_21 AC 77 ms
7,268 KB
testcase_22 AC 107 ms
7,700 KB
testcase_23 AC 67 ms
7,032 KB
testcase_24 AC 47 ms
6,776 KB
testcase_25 AC 91 ms
7,516 KB
testcase_26 AC 75 ms
7,224 KB
testcase_27 AC 55 ms
6,916 KB
testcase_28 AC 46 ms
6,632 KB
testcase_29 AC 51 ms
6,712 KB
testcase_30 AC 110 ms
7,728 KB
testcase_31 AC 111 ms
7,788 KB
testcase_32 AC 111 ms
7,884 KB
testcase_33 AC 111 ms
7,752 KB
testcase_34 AC 110 ms
7,696 KB
testcase_35 AC 101 ms
7,752 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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