結果

問題 No.2071 Shift and OR
ユーザー tailstails
提出日時 2022-10-07 19:54:22
言語 cLay
(20231016-1)
結果
AC  
実行時間 482 ms / 2,000 ms
コード長 129 bytes
コンパイル時間 2,464 ms
コンパイル使用メモリ 168,432 KB
実行使用メモリ 9,624 KB
最終ジャッジ日時 2023-09-02 21:10:59
合計ジャッジ時間 11,174 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,372 KB
testcase_01 AC 3 ms
4,372 KB
testcase_02 AC 17 ms
4,852 KB
testcase_03 AC 239 ms
9,096 KB
testcase_04 AC 79 ms
7,368 KB
testcase_05 AC 333 ms
9,412 KB
testcase_06 AC 119 ms
8,208 KB
testcase_07 AC 33 ms
5,724 KB
testcase_08 AC 50 ms
6,148 KB
testcase_09 AC 116 ms
8,488 KB
testcase_10 AC 136 ms
8,748 KB
testcase_11 AC 377 ms
9,556 KB
testcase_12 AC 482 ms
9,624 KB
testcase_13 AC 285 ms
9,384 KB
testcase_14 AC 2 ms
4,368 KB
testcase_15 AC 350 ms
9,460 KB
testcase_16 AC 321 ms
9,448 KB
testcase_17 AC 313 ms
9,280 KB
testcase_18 AC 2 ms
4,372 KB
testcase_19 AC 359 ms
9,476 KB
testcase_20 AC 217 ms
9,076 KB
testcase_21 AC 315 ms
9,228 KB
testcase_22 AC 337 ms
9,432 KB
testcase_23 AC 3 ms
4,532 KB
testcase_24 AC 2 ms
4,372 KB
testcase_25 AC 2 ms
4,368 KB
testcase_26 AC 2 ms
4,368 KB
testcase_27 AC 2 ms
4,372 KB
testcase_28 AC 3 ms
4,552 KB
testcase_29 AC 3 ms
4,448 KB
testcase_30 AC 225 ms
9,292 KB
testcase_31 AC 71 ms
6,396 KB
testcase_32 AC 81 ms
6,940 KB
testcase_33 AC 100 ms
7,536 KB
testcase_34 AC 126 ms
7,544 KB
testcase_35 AC 146 ms
8,356 KB
testcase_36 AC 202 ms
9,232 KB
testcase_37 AC 124 ms
7,992 KB
testcase_38 AC 100 ms
7,740 KB
testcase_39 AC 92 ms
7,476 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

set<ll>s{0},t;
ll@n;
rep(n){
	ll@a;
	t=s;
	for(ll x:t)s.insert(x|a*2**(0..15)%65535);
	if(s.count(65535))break;
}
wt(*--s.end());
0