-
AOJ1242 Area of Polygons ( 幾何 ) http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1242
-
AOJ2698 Wall Making Game ( ゲーム理論 ) http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2698
-
AOJ2632 Last One ( ゲーム理論 )
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<bits/stdc++.h> | |
using namespace std; | |
typedef long long ll; | |
typedef pair<ll,ll> P; | |
int n,ans; | |
int G[100][100]; | |
int pre[100]; | |
vector<int> ansv; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<bits/stdc++.h> | |
using namespace std; | |
int N,M; | |
int W[30][30]; | |
const int INF = (1<<28); | |
int dp1[(1<<20)][22]; | |
int dp2[(1<<20)][22]; | |
void jsl(int (*dp)[22],int s){ | |
fill(dp[0],dp[(1<<N)],INF); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<bits/stdc++.h> | |
using namespace std; | |
int N,M; | |
int W[30][30]; | |
const int INF = (1<<28); | |
int dp1[(1<<20)][22]; | |
int dp2[(1<<20)][22]; | |
void jsl(int (*dp)[22],int s){ | |
fill(dp[0],dp[(1<<N)],INF); |
NewerOlder