結果

問題 No.699 ペアでチームを作ろう2
ユーザー tailstails
提出日時 2018-06-12 22:26:43
言語 cLay
(20240104-1)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 128 bytes
コンパイル時間 1,694 ms
コンパイル使用メモリ 158,904 KB
実行使用メモリ 11,848 KB
最終ジャッジ日時 2023-09-19 00:03:05
合計ジャッジ時間 6,135 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 TLE -
testcase_01 -- -
testcase_02 -- -
testcase_03 -- -
testcase_04 -- -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp: In function ‘long long int f(long long int, long long int)’:
main.cpp:113:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^

ソースコード

diff #

ll a[14],n,b;ll f(ll u,ll v){ll i=ffs(u);b>?=i>n?v:0;rep(j,i--,n)u&1<<j&&f(u^1<<i^1<<j,v^a[i]+a[j]);}{rd(n,a(n));f(~0,0);wt(b);}
0