Skip to content

Instantly share code, notes, and snippets.

WeeklyReport

Competative Programming Problems

  • AOJ2537 Billiard ( Category : geometory )
  • AOJ2690 Content Delivery ( Category : graph )
  • AOJ2632 Dense Amidakuji ( Category : puzzle )
  • Google Code Jam Round1A ( rank : 193 / 10149 )
  • AtCoder Regular Contest 051 ( rank : 27 / 277 )

ICPC club

#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;
#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);
#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);