結果

問題 No.2382 Amidakuji M
ユーザー tailstails
提出日時 2023-07-14 22:08:45
言語 cLay
(20240104-1)
結果
AC  
実行時間 32 ms / 2,000 ms
コード長 68 bytes
コンパイル時間 5,795 ms
コンパイル使用メモリ 206,296 KB
実行使用メモリ 11,224 KB
最終ジャッジ日時 2023-10-14 12:21:58
合計ジャッジ時間 7,233 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,352 KB
testcase_01 AC 1 ms
4,348 KB
testcase_02 AC 1 ms
4,348 KB
testcase_03 AC 14 ms
7,604 KB
testcase_04 AC 21 ms
8,444 KB
testcase_05 AC 4 ms
4,348 KB
testcase_06 AC 12 ms
7,688 KB
testcase_07 AC 9 ms
5,268 KB
testcase_08 AC 1 ms
4,348 KB
testcase_09 AC 19 ms
8,156 KB
testcase_10 AC 25 ms
8,848 KB
testcase_11 AC 10 ms
7,300 KB
testcase_12 AC 18 ms
8,188 KB
testcase_13 AC 1 ms
4,348 KB
testcase_14 AC 2 ms
4,352 KB
testcase_15 AC 1 ms
4,356 KB
testcase_16 AC 2 ms
4,348 KB
testcase_17 AC 1 ms
4,348 KB
testcase_18 AC 2 ms
4,348 KB
testcase_19 AC 32 ms
11,224 KB
testcase_20 AC 31 ms
11,008 KB
testcase_21 AC 31 ms
11,012 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll@n,@m,@p[n],t=inversion(n,p),z=t/+m*m;wt(t&~m&1?-1:z+(t+z&1?m:0));
0