結果

問題 No.1188 レベルX門松列
ユーザー tailstails
提出日時 2020-09-01 17:54:15
言語 cLay
(20240104-1)
結果
AC  
実行時間 30 ms / 2,000 ms
コード長 173 bytes
コンパイル時間 2,116 ms
コンパイル使用メモリ 161,092 KB
実行使用メモリ 9,988 KB
最終ジャッジ日時 2023-09-19 01:05:46
合計ジャッジ時間 3,506 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 7 ms
9,588 KB
testcase_01 AC 24 ms
9,756 KB
testcase_02 AC 23 ms
9,592 KB
testcase_03 AC 29 ms
9,844 KB
testcase_04 AC 13 ms
9,704 KB
testcase_05 AC 2 ms
7,440 KB
testcase_06 AC 5 ms
9,588 KB
testcase_07 AC 16 ms
9,556 KB
testcase_08 AC 16 ms
9,604 KB
testcase_09 AC 2 ms
7,424 KB
testcase_10 AC 2 ms
7,444 KB
testcase_11 AC 4 ms
7,640 KB
testcase_12 AC 4 ms
7,780 KB
testcase_13 AC 4 ms
7,700 KB
testcase_14 AC 18 ms
9,392 KB
testcase_15 AC 30 ms
9,988 KB
testcase_16 AC 2 ms
7,620 KB
testcase_17 AC 23 ms
9,720 KB
testcase_18 AC 2 ms
7,444 KB
testcase_19 AC 22 ms
9,700 KB
testcase_20 AC 2 ms
7,420 KB
testcase_21 AC 3 ms
7,488 KB
testcase_22 AC 2 ms
7,348 KB
testcase_23 AC 3 ms
7,400 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll n,k,r,x,z,j,a[1d5],b[1d5],c[4d5];{rd(n,a(n));rep(d,4)rep(i,r=0,n)b[k=lower_bound(b,b+r,x=a[d&1?n+~i:i]^-!(d%3))-b]=x,c[j++]=r+=r==k;z>?=min(c[0..2n],c[j-(1..)]);wt(z-1);}
0