結果

問題 No.709 優勝可能性
ユーザー tailstails
提出日時 2022-11-16 20:58:07
言語 cLay
(20240104-1)
結果
AC  
実行時間 31 ms / 3,500 ms
コード長 158 bytes
コンパイル時間 4,026 ms
コンパイル使用メモリ 173,624 KB
実行使用メモリ 13,836 KB
最終ジャッジ日時 2023-10-17 18:28:01
合計ジャッジ時間 6,751 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,348 KB
testcase_01 AC 2 ms
4,348 KB
testcase_02 AC 1 ms
4,348 KB
testcase_03 AC 1 ms
4,348 KB
testcase_04 AC 2 ms
4,348 KB
testcase_05 AC 2 ms
4,348 KB
testcase_06 AC 1 ms
4,348 KB
testcase_07 AC 1 ms
4,348 KB
testcase_08 AC 2 ms
4,348 KB
testcase_09 AC 2 ms
4,348 KB
testcase_10 AC 12 ms
8,248 KB
testcase_11 AC 6 ms
6,560 KB
testcase_12 AC 23 ms
11,392 KB
testcase_13 AC 24 ms
13,468 KB
testcase_14 AC 22 ms
13,552 KB
testcase_15 AC 20 ms
13,648 KB
testcase_16 AC 20 ms
13,820 KB
testcase_17 AC 19 ms
13,836 KB
testcase_18 AC 2 ms
4,348 KB
testcase_19 AC 2 ms
4,348 KB
testcase_20 AC 31 ms
13,556 KB
testcase_21 AC 31 ms
13,556 KB
testcase_22 AC 2 ms
4,348 KB
testcase_23 AC 2 ms
4,348 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll@n,@m,a[m]{},c[m]{},d[n]{},b[m][n],z=0;rep(i,n){rep(j,m){ll@r;if(r>=a[j]){if(r>a[j])a[j]=r,z-=!--d[b[j][0..c[j]-1]],c[j]=0;z+=!d[b[j][c[j]++]=i]++;}}wt(z);}
0