結果

問題 No.1310 量子アニーリング
ユーザー tailstails
提出日時 2020-12-07 00:41:47
言語 cLay
(20240104-1)
結果
WA  
実行時間 -
コード長 154 bytes
コンパイル時間 2,478 ms
コンパイル使用メモリ 172,788 KB
実行使用メモリ 4,384 KB
最終ジャッジ日時 2023-09-19 01:54:29
合計ジャッジ時間 4,470 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,380 KB
testcase_01 AC 1 ms
4,384 KB
testcase_02 AC 2 ms
4,384 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 1 ms
4,380 KB
testcase_06 WA -
testcase_07 AC 2 ms
4,380 KB
testcase_08 AC 2 ms
4,380 KB
testcase_09 AC 1 ms
4,380 KB
testcase_10 WA -
testcase_11 AC 2 ms
4,380 KB
testcase_12 AC 3 ms
4,384 KB
testcase_13 AC 16 ms
4,380 KB
testcase_14 AC 22 ms
4,384 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 41 ms
4,380 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 12 ms
4,380 KB
testcase_21 AC 7 ms
4,380 KB
testcase_22 AC 55 ms
4,380 KB
testcase_23 AC 16 ms
4,384 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#define MD 998244353
{
	int @n;
	Mint z=0;
	Mint c=1;
	REP(i,0,n,2){
		z+=Mint(2)**abs(n-i-i)*c;
		c*=n-i;
		c*=n-i-1;
		c/=i+1;
		c/=i+2;
	}
	wt(z*2);
}
0