結果

問題 No.2433 Min Increasing Sequence
ユーザー tailstails
提出日時 2023-08-28 15:34:57
言語 cLay
(20240104-1)
結果
AC  
実行時間 9 ms / 2,000 ms
コード長 119 bytes
コンパイル時間 2,275 ms
コンパイル使用メモリ 162,144 KB
実行使用メモリ 5,992 KB
最終ジャッジ日時 2023-08-28 15:35:03
合計ジャッジ時間 4,005 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,380 KB
testcase_01 AC 1 ms
4,380 KB
testcase_02 AC 2 ms
4,380 KB
testcase_03 AC 1 ms
4,376 KB
testcase_04 AC 9 ms
5,932 KB
testcase_05 AC 4 ms
5,036 KB
testcase_06 AC 6 ms
5,720 KB
testcase_07 AC 5 ms
5,200 KB
testcase_08 AC 7 ms
5,820 KB
testcase_09 AC 7 ms
5,452 KB
testcase_10 AC 4 ms
4,744 KB
testcase_11 AC 6 ms
5,348 KB
testcase_12 AC 3 ms
4,660 KB
testcase_13 AC 3 ms
4,380 KB
testcase_14 AC 6 ms
5,396 KB
testcase_15 AC 3 ms
4,376 KB
testcase_16 AC 3 ms
4,492 KB
testcase_17 AC 3 ms
4,376 KB
testcase_18 AC 8 ms
5,860 KB
testcase_19 AC 8 ms
5,848 KB
testcase_20 AC 2 ms
4,376 KB
testcase_21 AC 8 ms
5,688 KB
testcase_22 AC 8 ms
5,824 KB
testcase_23 AC 7 ms
5,896 KB
testcase_24 AC 7 ms
5,892 KB
testcase_25 AC 7 ms
5,992 KB
testcase_26 AC 6 ms
5,424 KB
testcase_27 AC 7 ms
5,776 KB
testcase_28 AC 7 ms
5,580 KB
testcase_29 AC 2 ms
4,380 KB
testcase_30 AC 2 ms
4,376 KB
testcase_31 AC 2 ms
4,384 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#define MD 998244353
ll@n,@a[n],j=n-1,x=ll_inf;
Mint z=1;
rrep(i,n){
	if(a[i]<=x){
		z*=j-i+1;
		x=a[j=i];
	}
}
wt(z);
0