結果
問題 |
No.699 ペアでチームを作ろう2
|
ユーザー |
![]() |
提出日時 | 2018-06-14 09:27:43 |
言語 | cLay (20241019-1) |
結果 |
TLE
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 125 bytes |
コンパイル時間 | 1,624 ms |
コンパイル使用メモリ | 172,580 KB |
実行使用メモリ | 16,960 KB |
最終ジャッジ日時 | 2024-07-05 13:05:44 |
合計ジャッジ時間 | 5,941 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | TLE * 1 -- * 2 |
other | -- * 12 |
コンパイルメッセージ
main.cpp: In function ‘long long int f(long long int, long long int)’: main.cpp:112:1: warning: no return statement in function returning non-void [-Wreturn-type] 112 | } | ^
ソースコード
ll a[14],n,b;ll f(ll u,ll v){b>?=!u*v;rep(j,n)u&u-1&1<<j&&f(u&u-1^1<<j,v^a[ffs(u)-1]+a[j]);}{rd(n,a(n));f(~(~0<<n),0);wt(b);}