Hatena::Grouptopcoder

Wrong Answer -- japlj このページをアンテナに追加 RSSフィード

2013-02-18

AOJ 0586

| 15:29 | AOJ 0586 - Wrong Answer -- japlj を含むブックマーク はてなブックマーク - AOJ 0586 - Wrong Answer -- japlj AOJ 0586 - Wrong Answer -- japlj のブックマークコメント

制約が書かれてないが,どうせ解ける範囲しか来ないと思って書くと通った.c ≧ 0 のときは全探索して,c < 0 のときは偶数桁の回文数が 11 で割り切れるので n = 1 のときを除いて 999..999 を出力すればよい.

AOJ 0585

| 15:28 | AOJ 0585 - Wrong Answer -- japlj を含むブックマーク はてなブックマーク - AOJ 0585 - Wrong Answer -- japlj AOJ 0585 - Wrong Answer -- japlj のブックマークコメント

よくある最近点対のアレ(xでソートして,これまでの最近点対の距離よりxが離れてたら枝を刈る)で通った.

AOJ 0584

| 15:27 | AOJ 0584 - Wrong Answer -- japlj を含むブックマーク はてなブックマーク - AOJ 0584 - Wrong Answer -- japlj AOJ 0584 - Wrong Answer -- japlj のブックマークコメント

小さい方から4つだけ分かっていれば求めたい数は分かる.

AOJ 0583

| 15:27 | AOJ 0583 - Wrong Answer -- japlj を含むブックマーク はてなブックマーク - AOJ 0583 - Wrong Answer -- japlj AOJ 0583 - Wrong Answer -- japlj のブックマークコメント

それぞれの数の約数を全列挙して unique して公約数になってるかどうか試す,とかしたけど普通に √max まで試し割りでよかったじゃないですかー

AOJ 0582

| 15:26 | AOJ 0582 - Wrong Answer -- japlj を含むブックマーク はてなブックマーク - AOJ 0582 - Wrong Answer -- japlj AOJ 0582 - Wrong Answer -- japlj のブックマークコメント

普通に辺の長さを比べましょう.

2013-02-17

AOJ 0591

| 01:54 | AOJ 0591 - Wrong Answer -- japlj を含むブックマーク はてなブックマーク - AOJ 0591 - Wrong Answer -- japlj AOJ 0591 - Wrong Answer -- japlj のブックマークコメント

多倍長を書いてみようと思ったけど掛け算だけだし大したことはなかった.

2012-05-24

AOJ 2158 Double Sorting

| 02:05 | AOJ 2158 Double Sorting - Wrong Answer -- japlj を含むブックマーク はてなブックマーク - AOJ 2158 Double Sorting - Wrong Answer -- japlj AOJ 2158 Double Sorting - Wrong Answer -- japlj のブックマークコメント

A*てきとうに書いたら間に合わなかったので嘘枝刈り~

MLE -> MLE -> WA -> WA -> MLE -> AC


Submitデバッグで二分探索する人間の屑

#include<cstdio>
#include<cstdlib>
#include<algorithm>
#include<map>
#include<queue>

using namespace std;

typedef long long Int;

struct state {
  Int st;
  int cost, heur1, heur2;
  
  int score() const {
    return cost + max((heur1+1)/2, (heur2+5)/6);
  }
};

bool operator < (const state& a, const state& b)
{
  return a.score() != b.score() ? a.score() > b.score() : a.cost < b.cost;
}

struct cmp_by_state {
  bool operator () (const state& a, const state& b) {
    return a.st < b.st;
  }
};

#define pos(i) ((i)*3)
#define mask(i) (7LL<<pos(i))
#define at(st, i) (((st) & mask(i)) >> pos(i))
#define swp(st, i, j) (((st) & ~(mask(i)|mask(j))) | (at(st,j)<<pos(i)) | (at(st,i)<<pos(j)))
#define check(st, b) (at(st, 2*(b)) > at(st, 2*(b)+1) ? swp(st, 2*(b), 2*(b)+1) : (st))
#define h2(x, y) (((x)==(y)) ? 1 : ((x)>(y) ? 2 : 0))

int N;

int a_star(Int s, Int t)
{
  state first;
  first.st = s;
  first.cost = first.heur1 = first.heur2 = 0;
  
  for(int i=0; i<N; ++i)
    first.st = check(first.st, i);
  
  for(int i=0; i<2*N; ++i)
    first.heur1 += abs(at(first.st, i) - i/2);
  
  for(int i=0; i<2*N; ++i)
    for(int j=i+1; j<2*N; ++j)
      if(i/2 != j/2)
        first.heur2 += h2(at(first.st, i), at(first.st, j));
        
  priority_queue<state> Q;
  map<state, int, cmp_by_state> proc, done;
  Q.push(first);
  proc[first] = first.score();
  Int cA = 0;
  while(!Q.empty()) {
    state n = Q.top(); Q.pop();
    if((++cA) == 14000) return n.score()+1;
    if(n.st == t) return n.cost;
    if(proc.find(n) != proc.end()) proc.erase(n);
    if(done.find(n) != done.end()) continue;
    done[n] = n.score();
    for(int i=0; i<2*N-2; ++i) {
      for(int j=(i%2)?(i+1):(i+2); j/2-i/2==1; ++j) {
        state next = n;
        
        next.heur1 -= abs(at(n.st, i) - i/2) + abs(at(n.st, j) - j/2);
        next.heur1 += abs(at(n.st, i) - j/2) + abs(at(n.st, j) - i/2);
        
        int p = at(n.st, i), q = at(n.st, j);
        int r = at(n.st, i^1), s = at(n.st, j^1);
        next.heur2 -= h2(p, q) + h2(p, s) + h2(r, q);
        next.heur2 += h2(q, p) + h2(q, s) + h2(r, p);
        
        next.st = swp(n.st, i, j);
        next.st = check(next.st, i/2);
        next.st = check(next.st, j/2);
        
        next.cost++;
        
        map<state, int, cmp_by_state>::iterator open = proc.find(next), close = done.find(next);
        bool open_p = (open != proc.end()), close_p = (close != done.end());
        if((!open_p && !close_p)
          || (open_p && open->first.score() > next.score())
          || (close->first.score() > next.score())) {
          Q.push(next);
          proc[next] = next.score();
          if(done.find(next) != done.end()) done.erase(next);
        }
      }
    }
  }
  
  return -1;
}

int main()
{
  while(scanf("%d", &N), N) {
    Int f = 0, goal = 0;
    for(int i=0, t; i<2*N; ++i) {
      scanf("%d", &t);
      f |= (Int)(t-1) << pos(i);
      goal |= (Int)(i>>1) << pos(i);
    }
    printf("%d\n", a_star(f, goal));
  }
  return 0;
}

PawasPawas2012/11/16 17:25If you're looking to buy these articles make it way eaeisr.

nmxraupufnmxraupuf2012/11/16 22:34YqV87z <a href="http://czvuhitduwfv.com/">czvuhitduwfv</a>

rxlymtrxlymt2012/11/18 20:00gqAnxT <a href="http://yvpuhmsldnjl.com/">yvpuhmsldnjl</a>

fmiiewxtvffmiiewxtvf2014/03/19 17:08yxzdbupqdpefs, <a href="http://www.shozpmhyjw.com/">osirzvcwys</a> , [url=http://www.zprwszrkru.com/]ulbjtpxvox[/url], http://www.fpcxcxpqba.com/ osirzvcwys

2012-05-23

AOJ 2280 Mod 3 Knights Out

| 23:40 | AOJ 2280 Mod 3 Knights Out - Wrong Answer -- japlj を含むブックマーク はてなブックマーク - AOJ 2280 Mod 3 Knights Out - Wrong Answer -- japlj AOJ 2280 Mod 3 Knights Out - Wrong Answer -- japlj のブックマークコメント

探索で間に合うんでは?と気づくまでが面白いところ

AC


#include<cstdio>
#include<algorithm>
 
using namespace std;
 
const int MO = 1000000007;
 
int H, W, F[50][16];
static int dx[] = {-1, +1, +2, +2, +1, -1, -2, -2}, dy[] = {-2, -2, -1, +1, +2, +2, +1, -1};
 
inline bool valid(int y, int x)
{
  return 0<=y && y<H && 0<=x && x<W;
}
 
void add(int y, int x, int v)
{
  for(int i=0; i<8; ++i)
    if(valid(y+dy[i], x+dx[i]))
      (F[y+dy[i]][x+dx[i]] += v) %= 3;
}
 
int search(int y, int x, int mo)
{
  if(y == H) {
    for(int i=max(0, H-3); i<H; ++i)
      for(int j=0; j<W; ++j)
    if((i+j) % 2 != mo && F[i][j] != 0)
      return 0;
    return 1;
  }
  if(x == W) {
    int ok = 1;
    if(y >= 2) {
      for(int j=0; j<W; ++j)
    if((y+j) % 2 != mo && F[y-2][j] != 0)
      ok = 0;
    }
    return ok ? search(y+1, 0, mo) : 0;
  }
  if((y+x) % 2 != mo)
    return search(y, x+1, mo);
 
  int ret = 0;
  if(!valid(y-2, x-1) || F[y-2][x-1] == 0)
    ret += search(y, x+1, mo);
  if(!valid(y-2, x-1) || F[y-2][x-1] == 2) {
    add(y, x, 1);
    ret += search(y, x+1, mo);
    add(y, x, 2);
  }
 
  return ret % MO;
}
 
int main()
{
  scanf("%d%d", &H, &W);
  for(int i=0; i<H; ++i)
    for(int j=0; j<W; ++j)
      scanf("%d", &F[i][j]);
 
  if(H == 1 || W == 1) {
    int sol = 1;
    for(int i=0; i<H; ++i)
      for(int j=0; j<W; ++j)
    sol &= !!(F[i][j] == 0);
    for(int i=0; i<H*W; ++i)
      (sol <<= 1) %= MO;
    printf("%dn", sol);
    return 0;
  }
 
  printf("%dn", (long long)search(0, 0, 0) * search(0, 0, 1) % MO);
  return 0;
}

AOJ 2355 Game

| 23:36 | AOJ 2355 Game - Wrong Answer -- japlj を含むブックマーク はてなブックマーク - AOJ 2355 Game - Wrong Answer -- japlj AOJ 2355 Game - Wrong Answer -- japlj のブックマークコメント

アルファベータ探索おもろい

WA -> WA -> AC


#include<cstdio>
#include<cstring>
#include<algorithm>
 
using namespace std;
 
const int INF = 1001001001, M = 10000;
int N, F, X[8][8], dp[1<<16][8], dp2[1<<16][8], pc[1<<16];
 
#define win(p) (M-(p))
#define lose(p) (-win(p))
const int draw = 0;
 
int alphabeta(int st, int pr, int cur, int alpha, int beta)
{
  if(pc[st] == 2*N)
    return cur > 0 ? win(2*N) : (cur == 0 ? draw : lose(2*N));
  if((pc[st] & 1) ? (cur-dp[st][pr] > 0) : (cur+dp[st][pr] < 0))
    return (pc[st] & 1) ? win(pc[st]+1) : lose(pc[st]+1);
 
  if(pc[st] & 1) {
    for(int i=0; i<N; ++i) {
      if((st & (1<<(i+N))) == 0)
        beta = min(beta, alphabeta(st|(1<<(i+N)), i, cur-X[pr][i], alpha, beta));
      if(alpha >= beta)
        return alpha;
    }
    return beta;
  } else {
    for(int i=0; i<N; ++i) {
      if((st & (1<<i)) == 0)
        alpha = max(alpha, alphabeta(st|(1<<i), i, cur+(pc[st]==0 ? 0 : X[i][pr]), alpha, beta));
      if(alpha >= beta)
        return beta;
    }
    return alpha;
  }
}
 
int main()
{
  for(int i=0; i<(1<<16); ++i)
    pc[i] = __builtin_popcount(i);
  while(scanf("%d%d", &N, &F), N||F) {
    for(int i=0; i<N; ++i)
      for(int j=0; j<N; ++j)
        scanf("%d", &X[i][j]);
 
    int mask = (1<<(2*N))-1;
    memset(dp[mask], 0, sizeof(dp[mask]));
    memset(dp2[mask], 0, sizeof(dp[mask]));
    for(int i=(1<<(2*N))-2; i>=0; --i) {
      for(int j=0; j<N; ++j) {
        dp[i][j] = -INF;
        dp2[i][j] = INF;
        if(pc[i] & 1) {
          for(int k=0; k<N; ++k) {
            if((i & (1<<(k+N))) == 0) {
              dp[i][j] = max(dp[i][j], X[j][k]-dp2[i|(1<<(k+N))][k]);
              dp2[i][j]= min(dp2[i][j], X[j][k]-dp[i|(1<<(k+N))][k]);
            }
          }
        } else {
          for(int k=0; k<N; ++k) {
            if((i & (1<<k)) == 0) {
              dp[i][j] = max(dp[i][j], (pc[i]==0 ? 0 : X[k][j])-dp2[i|(1<<k)][k]);
              dp2[i][j]= min(dp2[i][j],(pc[i]==0 ? 0 : X[k][j]) -dp[i|(1<<k)][k]);
            }
          }
        }
      }
    }
 
    int res = alphabeta(0, 0, F, -INF, INF);
    if(res > 0)
      printf("First\n%d\n", M-res);
    else if(res == 0)
      printf("Draw\n%d\n", 2*N);
    else
      printf("Second\n%d\n", res+M);
    return 0;
  }
}

AOJ 2391 Billiards Sorting

| 23:35 | AOJ 2391 Billiards Sorting - Wrong Answer -- japlj を含むブックマーク はてなブックマーク - AOJ 2391 Billiards Sorting - Wrong Answer -- japlj AOJ 2391 Billiards Sorting - Wrong Answer -- japlj のブックマークコメント

がんばって両側探索

もっといい方法あるんかな

TLE -> TLE -> TLE -> TLE -> WA -> AC


#include<cstdio>
#include<map>
#include<algorithm>
 
using namespace std;
 
typedef long long Int;
 
const int LIM = 22, INF = 10000;
 
int N, id[5][5], h[15], swaps[15][4], swc[15], B;
 
map<Int, int> Mp;
map<Int, int> M5;
 
map<Int, int> *M;
 
#define mask(i) (0xfLL << ((B-(i))*4))
 
inline Int swap_ball(Int s, int i, int j)
{
  Int t = s & ~(mask(i) | mask(j));
  t |= ((s & mask(i)) >> ((B-i)*4)) << ((B-j)*4);
  t |= ((s & mask(j)) >> ((B-j)*4)) << ((B-i)*4);
  return t;
}
 
int sol;
 
void search(Int f, int phase, int step, int pos, int prev)
{
  if(phase && M->find(f) != M->end()) {
    sol = min(sol, step + (*M)[f]);
    return;
  }
  if(!phase) {
    if(M->find(f) == M->end()) (*M)[f] = step;
    else (*M)[f] = min((*M)[f], step);
  }
 
  if(step >= (phase ? 45-LIM : LIM)) return;
 
  for(int i=0; i<swc[pos]; ++i) {
    if(swaps[pos][i] == prev || h[swaps[pos][i]] >= N) continue;
    Int next = swap_ball(f, pos, swaps[pos][i]);
    search(next, phase, step+1, swaps[pos][i], pos);
  }
}
 
bool valid(int i, int j)
{
  if(i < 0 || i >= 5) return false;
  if(j < 0 || j > i) return false;
  return true;
}
 
int main()
{
  int k = 0;
  for(int i=0; i<5; ++i)
    for(int j=0; j<=i; ++j)
      id[i][j] = k++;
  k = 0;
  for(int i=0; i<5; ++i) {
    for(int j=0; j<=i; ++j) {
      h[k] = i;
      if(valid(i-1, j-1)) swaps[k][swc[k]++] = id[i-1][j-1];
      if(valid(i-1, j))   swaps[k][swc[k]++] = id[i-1][j];
      if(valid(i+1, j))   swaps[k][swc[k]++] = id[i+1][j];
      if(valid(i+1, j+1)) swaps[k][swc[k]++] = id[i+1][j+1];
      k++;
    }
  }
 
  int pN = -1, CN = 1;
  while(scanf("%d", &N), N) {
    Int st = 0, f = 0;
    int pos;
    B = N*(N+1)/2 - 1;
    for(int i=0, t; i<N*(N+1)/2; ++i) {
      scanf("%d", &t);
      st = (st<<4) | (t-1);
      f = (f<<4) | i;
      if(t == 1) pos = i;
    }
    sol = 50;
    if(N == 5) {
      M = &M5;
      if(M5.size() == 0)
    search(f, 0, 0, 0, -1);
    } else {
      M = &Mp;
      if(N != pN) {
    M->clear();
    search(f, 0, 0, 0, -1);
      }
    }
    search(st, 1, 0, pos, -1);
    printf("Case %d: %d\n", CN++, sol);
    pN = N;
  }
  return 0;
}

ChrverfuraChrverfura2017/05/09 03:40Levitra Prix Belgique Amoxicillin Puppy Dose Order Viagra Usa Pharmacy Zithromax Medication Levitra Natural Alternatives Prix Du Cialis En Suisse <a href=http://byuvaigranonile.com>viagra</a> Buying Soft Cialis On Line Cash On Delivery Stendra Sale 20mg Acheter Levitra Generique Viagra Ingredientes Baclofene Quebec Acheter Du Kamagra En France

GerpedyGerpedy2018/02/02 13:25Amoxicillin Abnormal Dreams <a href=http://tadalaffbuy.com>cialis</a> Le Cialis En Tunisie Viagra Acostumbramiento

WilliamFexWilliamFex2018/04/09 22:23cialis viagra levitra generic
<a href="http://coastalseaplanes.com/#">generic cialis</a>
cialis commercial woman in pool
<a href="http://coastalseaplanes.com/#">generic cialis online</a>
best prices on generic cialis
<a href="http://northcoastgetaway.com/#">buy generic cialis</a>
cialis 100mg dosage information
<a href="http://northcoastgetaway.com/#">buy cialis online</a>
when does cialis go generic in usa

WilliamFexWilliamFex2018/04/10 19:00cialis coupons 2018
<a href="http://coastalseaplanes.com/#">generic cialis</a>
cialis maximum daily dosage
<a href="http://coastalseaplanes.com/#">buy cialis</a>
generic cialis soft tabs suppliers
<a href="http://northcoastgetaway.com/#">generic cialis</a>
directions on cialis 20mg
<a href="http://northcoastgetaway.com/#">generic cialis online</a>
cialis medication side effects

WilliamFexWilliamFex2018/04/11 16:50best price cialis generic
<a href="http://justinpro.com/#">generic cialis online</a>
cialis going generic in 2017 in usa
<a href="http://justinpro.com/#">generic cialis online</a>
cialis commercial black woman
<a href="http://airvietnamairline.com/#">generic cialis</a>
super active cialis reviews
<a href="http://airvietnamairline.com/#">generic cialis online</a>
low cost viagra cialis

WilliamFexWilliamFex2018/04/12 10:08cialis tadalafil 10mg prix
<a href="http://justinpro.com/#">cialis generic</a>
cialis dosing information
<a href="http://justinpro.com/#">cialis generic</a>
is generic cialis available in the us
<a href="http://airvietnamairline.com/#">generic cialis</a>
cialis generico opinion
<a href="http://airvietnamairline.com/#">buy cialis online</a>
generic cialis soft 20mg

WilliamFexWilliamFex2018/04/13 00:43when will generic viagra be available in the united states
<a href="http://amsboatyard.com/#">viagra generic</a>
viagra commercial 2014 youtube
<a href="http://amsboatyard.com/#">buy generic viagra</a>
levitra cialis viagra reviews
<a href="http://viagrapillq.com/#">viagra generic</a>
viagra 100mg or cialis 20mg
<a href="http://viagrapillq.com/#">buy generic viagra online</a>
generic viagra soft pills

WilliamFexWilliamFex2018/04/13 14:49brand cialis lilly
<a href="http://coastalseaplanes.com/#">buy cialis</a>
cialis printable coupon 2017
<a href="http://coastalseaplanes.com/#">buy generic cialis online</a>
cialis 5 mg compare prices
<a href="http://northcoastgetaway.com/#">generic cialis online</a>
generic cialis available when
<a href="http://northcoastgetaway.com/#">buy generic cialis online</a>
generic cialis available in us

WilliamFexWilliamFex2018/04/14 05:45viagra feminino brasil
<a href="http://amsboatyard.com/#">buy viagra</a>
female viagra name
<a href="http://amsboatyard.com/#">viagra</a>
lady in viagra commercial 2016
<a href="http://viagrapillq.com/#">buy generic viagra online</a>
levitra vs viagra vs cialis forum
<a href="http://viagrapillq.com/#">generic viagra</a>
generic drug for viagra

WilliamFexWilliamFex2018/04/14 19:37viagra long term effects
<a href="http://amsboatyard.com/#">generic viagra online</a>
long term side effects of viagra use
<a href="http://amsboatyard.com/#">generic viagra</a>
female viagra pills reviews
<a href="http://viagrapillq.com/#">buy generic viagra online</a>
cialis viagra generico
<a href="http://viagrapillq.com/#">generic viagra online</a>
viagra vs levitra reviews

WilliamFexWilliamFex2018/04/15 09:38online prescription for generic viagra
<a href="http://blessingsofbirth.com/#">buy viagra</a>
buy viagra low price
<a href="http://blessingsofbirth.com/#">generic viagra online</a>
viagra natural para la mujer
<a href="http://timmonssoftware.com/#">viagra</a>
viagra precisa de receita 2015
<a href="http://timmonssoftware.com/#">buy generic viagra online</a>
best generic viagra manufacturer

WilliamFexWilliamFex2018/04/17 18:33female viagra stock price
<a href="http://blessingsofbirth.com/#">generic viagra</a>
viagra vs cialis vs levitra prices
<a href="http://blessingsofbirth.com/#">buy generic viagra online</a>
generic viagra at costco
<a href="http://timmonssoftware.com/#">buy viagra online</a>
viagra cialis comparison
<a href="http://timmonssoftware.com/#">generic viagra</a>
viagra coupons for cvs

LouisDumLouisDum2018/04/26 11:20cialis soft tabs canada
<a href="http://cialisgrudj.com/">cialis</a>
cialis or viagra price
<a href="http://cialisgrudj.com/">cialis generic</a>
cialis 20 mg benefits
http://cialisgrudj.com/
webmd drug cialis side effects

BruceDesBruceDes2018/04/26 13:47viagra qual dosagem tomar
<a href="http://viagrapipls.com/">buy viagra online</a>
buy generic viagra dapoxetine online
<a href="http://viagrapipls.com/">generic viagra online</a>
viagra feminino preço portugal
http://viagrapipls.com/
viagra like natural foods

MarvinSligeMarvinSlige2018/04/26 19:17viagra generic release date usa
<a href="http://viagrapipls.com/">generic viagra</a>
latest viagra commercial actress name
<a href="http://viagrapipls.com/">viagra</a>
female viagra pills fda approved
http://viagrapipls.com/
generic for viagra and cialis

MichaelvepMichaelvep2018/04/27 00:47viagra and cialis dosage and cost
<a href="http://viagrapipls.com/">generic viagra online</a>
viagra for women pink pill at ebay
<a href="http://viagrapipls.com/">buy viagra</a>
brand viagra online
http://viagrapipls.com/
viagra generic release

PeterFapPeterFap2018/04/27 02:31price of cialis 5 mg at walmart
<a href="http://cialisgrudj.com/">buy generic cialis online</a>
cialis vs viagra vs levitra cost
<a href="http://cialisgrudj.com/">generic cialis</a>
maximum dose of cialis daily
http://cialisgrudj.com/
cialis 2.5 mg vs 5 mg reviews

LucianopashyLucianopashy2018/04/27 06:16cialis price versus viagra reviews
<a href="http://viagrapipls.com/">buy generic viagra</a>
bob dole viagra commercial youtube
<a href="http://viagrapipls.com/">generic viagra</a>
viagra generic costco
http://viagrapipls.com/
cialis viagra comparison

GregoryZorGregoryZor2018/04/27 11:45merle generic viagra cialis
<a href="http://viagrapipls.com/">generic viagra</a>
viagra commercial actress name
<a href="http://viagrapipls.com/">buy viagra online</a>
cialis price vs viagra dosage
http://viagrapipls.com/
reviews for female viagra

MorrisrizMorrisriz2018/04/27 17:17viagra vs cialis vs levitra prices
<a href="http://viagrapipls.com/">generic viagra</a>
generic viagra vs cialis
<a href="http://viagrapipls.com/">buy generic viagra online</a>
viagra medicine use hindi
http://viagrapipls.com/
viagra dosage recommendations

BillybeectBillybeect2018/04/27 17:36cialis tv commercial actors
<a href="http://cialisgrudj.com/">cialis</a>
5mg cialis daily reviews
<a href="http://cialisgrudj.com/">generic cialis online</a>
woman in pool in cialis commercial
http://cialisgrudj.com/
cialis prices compare

CharlesteagoCharlesteago2018/04/27 22:49female viagra amazon
<a href="http://viagrapipls.com/">viagra generic</a>
viagra feminino aonde comprar
<a href="http://viagrapipls.com/">buy generic viagra</a>
viagra generic release date 2017
http://viagrapipls.com/
low cost viagra cialis canada

RobertdedRobertded2018/04/28 04:16generic viagra online usa
<a href="http://viagrapipls.com/">buy generic viagra online</a>
viagra side effects webmd
<a href="http://viagrapipls.com/">generic viagra online</a>
viagra commercial actress name brunette
http://viagrapipls.com/
woman in viagra commercial 2014 brunette

KeithfefKeithfef2018/04/28 09:32cialis 20mg tablets side effects
<a href="http://cialisgrudj.com/">buy generic cialis</a>
cialis dosage 40 mg
<a href="http://cialisgrudj.com/">buy cialis online</a>
cialis 5mg price walgreens
http://cialisgrudj.com/
cialis (30 pills 20 mg)

DonaldNutDonaldNut2018/04/28 20:47cialis vs viagra cost comparison
<a href="http://viagrapipls.com/">buy generic viagra</a>
pfizer viagra coupons from pfizer
<a href="http://viagrapipls.com/">viagra</a>
viagra professional for sale
http://viagrapipls.com/
viagra price at walmart

JimmySinnyJimmySinny2018/04/29 00:53cialis 20 mg benefits
<a href="http://cialisgrudj.com/">buy generic cialis online</a>
cialis 5mg price in malaysia
<a href="http://cialisgrudj.com/">cialis</a>
generic cialis availability date
http://cialisgrudj.com/
5mg cialis daily side effects

CollincigCollincig2018/04/29 13:17buy generic viagra in canada
<a href="http://viagrapipls.com/">viagra</a>
generico de viagra en farmacias espaГ±olas
<a href="http://viagrapipls.com/">generic viagra</a>
comprar viagra generico espaГ±a envio 24 horas
http://viagrapipls.com/
viagra naturale cibo

HectordedHectorded2018/04/29 15:54cialis super active tadalafil 20mg
<a href="http://cialisgrudj.com/">buy generic cialis online</a>
viagra vs cialis price
[url=http://cialisgrudj.com/]generic cialis online[/url]
best price for cialis 5mg
http://cialisgrudj.com/
is generic cialis available yet

NelsonSlornNelsonSlorn2018/04/29 18:48viagra cialis cost comparisons
<a href="http://viagrapipls.com/">buy generic viagra online</a>
viagra prices cvs rite aid
<a href="http://viagrapipls.com/">buy viagra online</a>
viagra dosages available
http://viagrapipls.com/
viagra generic name funny

AlfredonofAlfredonof2018/04/30 00:18walmart viagra price at walmart's
<a href="http://viagrapipls.com/">buy viagra online</a>
over counter viagra alternative walmart
<a href="http://viagrapipls.com/">generic viagra online</a>
what is generic viagra called in indian
http://viagrapipls.com/
viagra without a doctor prescription us ph

RonaldCapseRonaldCapse2018/04/30 05:47generic viagra brand names
<a href="http://viagrapipls.com/">viagra</a>
viagra commercials 2017
<a href="http://viagrapipls.com/">viagra generic</a>
precio viagra generico farmacia espaГ±a
http://viagrapipls.com/
viagra for women 2016

WilliamfructWilliamfruct2018/04/30 07:00cialis professional vs cialis
<a href="http://cialisgrudj.com/">buy generic cialis online</a>
cialis commercial female actors 2014
<a href="http://cialisgrudj.com/">generic cialis online</a>
cialis side effects back pain
http://cialisgrudj.com/
is generic cialis safe

DavidLibDavidLib2018/04/30 11:18viagra effects on the heart
<a href="http://viagrapipls.com/">generic viagra</a>
long term side effects of viagra use
<a href="http://viagrapipls.com/">buy generic viagra online</a>
merle generic viagra cialis
http://viagrapipls.com/
taking viagra after prostatectomy

GeorgeOxymnGeorgeOxymn2018/04/30 22:01cialis 20 mg 30'lu tablet
<a href="http://cialisgrudj.com/">cialis</a>
cialis 20 mg daily dose
<a href="http://cialisgrudj.com/">cialis</a>
venta de cialis generico en mexico
http://cialisgrudj.com/
viagra cialis online pharmacy

MichaelCerMichaelCer2018/04/30 22:18viagra price at walmart canada
<a href="http://viagrapipls.com/">buy generic viagra</a>
generic cialis viagra
<a href="http://viagrapipls.com/">buy generic viagra online</a>
proper dosage for viagra
http://viagrapipls.com/
viagra super active 150mg for sale

DavidStunkDavidStunk2018/05/01 03:47viagra generic date usa
<a href="http://viagrapipls.com/">buy viagra</a>
viagra cowboy commercial song
<a href="http://viagrapipls.com/">viagra</a>
viagra prices walmart canada
http://viagrapipls.com/
generic viagra 100mg sildenafil citrate

RonaldmupRonaldmup2018/05/01 07:50generic cialis levitra viagra
<a href="http://cialisonlinq.com/">buy cialis</a>
walmart pharmacy prices cialis
<a href="http://cialisonlinq.com/">cialis</a>
cialis daily use side effects
http://cialisonlinq.com/
can i buy cialis in usa

HenryGeankHenryGeank2018/05/01 16:26prices of viagra cialis and levitra
<a href="http://cialisonlinq.com/">generic cialis online</a>
levitra vs viagra vs cialis reviews
<a href="http://cialisonlinq.com/">buy cialis online</a>
generic viagra cialis and levitra
http://cialisonlinq.com/
best price on generic cialis 20 mg

DannyFubDannyFub2018/05/01 23:49buy generic cialis online europe
<a href="http://cialisonlinq.com/">buy cialis online</a>
buy cialis in the united states
<a href="http://cialisonlinq.com/">generic cialis online</a>
generic cialis uk
http://cialisonlinq.com/
brand cialis online pharmacy

DavidGefDavidGef2018/05/02 01:11generic viagra good name brand
<a href="http://viagrapipls.com/">viagra generic</a>
generic name for viagra 100mg reviews
<a href="http://viagrapipls.com/">buy generic viagra online</a>
buy brand viagra online australia
http://viagrapipls.com/
viagra 50 mg prices at walmart

DannydyEloDannydyElo2018/05/02 08:04cialis 10 mg tadalafil filmtabletten
<a href="http://cialisonlinq.com/">generic cialis online</a>
cialis vs viagra vs levitra reddit
<a href="http://cialisonlinq.com/">buy generic cialis</a>
cialis generic release in us
http://cialisonlinq.com/
cost of viagra versus cialis

PrestonTeavyPrestonTeavy2018/05/02 17:48cialis generico opinion
<a href="http://cialisonlinq.com/">buy generic cialis online</a>
generic cialis from us pharmacy
<a href="http://cialisonlinq.com/">buy generic cialis online</a>
cost of cialis 20 mg at walgreens
http://cialisonlinq.com/
coupon for cialis 20mg

MichaelcheceMichaelchece2018/05/02 19:08viagra bula posologia
<a href="http://viagrapipls.com/">buy viagra online</a>
cialis price versus viagra which is better
<a href="http://viagrapipls.com/">buy viagra</a>
viagra maximum safe dosage
http://viagrapipls.com/
cialis dosage compared to viagra

WillielicWillielic2018/05/03 00:06cialis price vs viagra reddit
<a href="http://cialisonlinq.com/">buy generic cialis online</a>
cost viagra vs cialis vs levitra
<a href="http://cialisonlinq.com/">buy cialis</a>
cialis coupons 2016
http://cialisonlinq.com/
viagra or cialis or levitra which is better

StevenDutStevenDut2018/05/03 11:27alcohol viagra cialis levitra stendra
<a href="http://cialisonlinq.com/">cialis generic</a>
cialis 20 mg 30'lu tablet
<a href="http://cialisonlinq.com/">buy cialis online</a>
cialis tadalafil 20mg reviews
http://cialisonlinq.com/
cialis dosage information

EugeneSponyEugeneSpony2018/05/03 12:47viagra effects on the liver
<a href="http://viagrapipls.com/">generic viagra</a>
viagra bula infarmed
<a href="http://viagrapipls.com/">viagra</a>
viagra generico preço bifarma
http://viagrapipls.com/
viagra commercial actress in blue dress

RoycetipRoycetip2018/05/03 15:15brand cialis meaning in hindi
<a href="http://cialisonlinq.com/">buy cialis online</a>
cialis side effects leg pain
<a href="http://cialisonlinq.com/">buy cialis online</a>
cialis 20mg dosage reviews
http://cialisonlinq.com/
cheap viagra cialis online

RodolfoLicRodolfoLic2018/05/04 04:21viagra and cialis combo dosage
<a href="http://cialisonlinq.com/">buy cialis</a>
cialis and viagra generic
<a href="http://cialisonlinq.com/">cialis</a>
dapoxetine 60mg cialis 100mg
http://cialisonlinq.com/
black guy cialis commercial

RobertoLokRobertoLok2018/05/04 05:35viagra dosage amounts
<a href="http://viagrapipls.com/">buy viagra online</a>
viagra generico in italia prezzo
<a href="http://viagrapipls.com/">buy viagra</a>
generic viagra effective
http://viagrapipls.com/
viagra feminino natural

JerrybobJerrybob2018/05/04 05:55cialis cost per pill 20 mg
<a href="http://cialisonlinq.com/">buy cialis</a>
brand cialis best price
<a href="http://cialisonlinq.com/">cialis</a>
eli lilly cialis manufacturer coupon
http://cialisonlinq.com/
redhead actress in cialis commercial

JustinSwonsJustinSwons2018/05/04 20:52cialis soft tabs side effects
<a href="http://cialisonlinq.com/">buy cialis</a>
generic cialis shipped from usa
<a href="http://cialisonlinq.com/">cialis generic</a>
cialis soft tabs 20mg
http://cialisonlinq.com/
generic cialis available in us

AndrewWrogeAndrewWroge2018/05/04 21:26cialis generico espaГ±a contrareembolso
<a href="http://cialisonlinq.com/">cialis</a>
cialis goes generic in 2017
<a href="http://cialisonlinq.com/">cialis generic</a>
cialis generico preço ultrafarma
http://cialisonlinq.com/
cialis coupon codes

HarryslamyHarryslamy2018/05/04 22:44viagra prices at costco
<a href="http://viagrapipls.com/">viagra</a>
viagra commercial
<a href="http://viagrapipls.com/">buy viagra online</a>
viagra side effects over time
http://viagrapipls.com/
viagra commercial actress name football jersey

ArthurPromoArthurPromo2018/05/05 12:07cialis side effects eyesight
<a href="http://cialisonlinq.com/">generic cialis</a>
cialis generico mejor precio
<a href="http://cialisonlinq.com/">buy generic cialis online</a>
cvs pharmacy cialis cost
http://cialisonlinq.com/
cialis professional vs viagra professional

JosephNugJosephNug2018/05/05 14:43generic brand for cialis 5mg canada
<a href="http://cialisonlinq.com/">buy generic cialis</a>
side effects of long term cialis use
<a href="http://cialisonlinq.com/">buy generic cialis online</a>
maximum dosage of cialis in clinical trials
http://cialisonlinq.com/
price comparison for cialis 20 mg

DonaldLopDonaldLop2018/05/05 15:55cialis vs viagra for bph
<a href="http://viagrapipls.com/">buy generic viagra</a>
is there a generic cialis or viagra
<a href="http://viagrapipls.com/">buy viagra</a>
pfizer viagra coupons from pfizer
http://viagrapipls.com/
viagra feminino vendido brasil

RusselGamRusselGam2018/05/06 03:11cialis 5mg price at cvs
<a href="http://cialisonlinq.com/">buy cialis</a>
cialis generico en mexico comprar
<a href="http://cialisonlinq.com/">buy generic cialis</a>
buy cheap cialis online uk
http://cialisonlinq.com/
cialis now generic in us

RichardbemRichardbem2018/05/06 09:04what is best generic viagra
<a href="http://viagrapipls.com/">buy generic viagra</a>
viagra over counter paypal
<a href="http://viagrapipls.com/">buy generic viagra online</a>
viagra dosage by age
http://viagrapipls.com/
new viagra commercial 2016

KevinnixKevinnix2018/05/07 01:19cost of viagra vs cialis vs levitra
<a href="http://cialisonlinq.com/">generic cialis</a>
generic cialis from usa pharmacy
<a href="http://cialisonlinq.com/">generic cialis</a>
generic cialis availability
http://cialisonlinq.com/
cialis 5mg price cvs

LamarorentLamarorent2018/05/07 02:24viagra without a doctor prescription
<a href="http://viagrapipls.com/">buy viagra</a>
female viagra positive reviews
<a href="http://viagrapipls.com/">generic viagra online</a>
generic viagra in canada is it legal
http://viagrapipls.com/
youtube viagra commercial 2015 date night

MichaelAnyncMichaelAnync2018/05/07 09:19generic cialis shipped from usa
<a href="http://cialisonlinq.com/">generic cialis online</a>
generic cialis cost
<a href="http://cialisonlinq.com/">generic cialis online</a>
cialis dapoxetine review
http://cialisonlinq.com/
daily 5mg cialis price

RalphMorRalphMor2018/05/07 18:24brand cialis 5mg for sale
<a href="http://cialisonlinq.com/">cialis generic</a>
viagra vs cialis dose comparison
<a href="http://cialisonlinq.com/">buy cialis online</a>
walmart price for cialis 5mg
http://cialisonlinq.com/
cialis tablets side effects

ThomasLofThomasLof2018/05/07 19:29cialis viagra dosage comparison
<a href="http://viagrapipls.com/">viagra</a>
generic viagra 100mg sildenafil meds expressions
<a href="http://viagrapipls.com/">buy generic viagra online</a>
generic drug for viagra in india
http://viagrapipls.com/
generico de viagra en farmacias espaГ±olas

AnthonyCoxAnthonyCox2018/05/08 00:26cialis 5mg generic
<a href="http://cialisonlinq.com/">generic cialis</a>
is there a generic for cialis or viagra
<a href="http://cialisonlinq.com/">cialis generic</a>
cialis 20 mg manufacturer coupon
http://cialisonlinq.com/
cialis super active plus kaufen

DavidImakeDavidImake2018/05/08 11:19asian woman in cialis commercial
<a href="http://cialisonlinq.com/">buy cialis</a>
cialis tv commercial actors
<a href="http://cialisonlinq.com/">cialis generic</a>
cialis prices walmart
http://cialisonlinq.com/
lowest cost viagra cialis generic

DennisCefDennisCef2018/05/08 12:20viagra for women reviews
<a href="http://viagrapipls.com/">buy generic viagra online</a>
como fazer viagra caseiro feminino
<a href="http://viagrapipls.com/">buy viagra online</a>
gold max female viagra review
http://viagrapipls.com/
price of viagra compared to cialis

RichardEmincRichardEminc2018/05/08 14:59cialis commercial actors 2016
<a href="http://cialisonlinq.com/">buy cialis</a>
cialis professional vs cialis
<a href="http://cialisonlinq.com/">buy generic cialis online</a>
cialis coupon 2015
http://cialisonlinq.com/
is there a generic cialis or viagra

RichardTeegeRichardTeege2018/05/09 05:37cialis dosage vs viagra dosage
<a href="http://viagrapipls.com/">buy generic viagra online</a>
cost of generic viagra from teva pharmaceuticals
<a href="http://viagrapipls.com/">viagra generic</a>
viagra coupons
http://viagrapipls.com/
viagra generic availability sildenafil 100mg

SteveLizSteveLiz2018/05/09 06:14cialis generico 5 mg preço
<a href="http://cialisonlinq.com/">generic cialis online</a>
cialis side effects muscle pain
<a href="http://cialisonlinq.com/">buy generic cialis</a>
cialis soft tabs uk
http://cialisonlinq.com/
generic viagra cialis online pharmacy

JamesFAwJamesFAw2018/05/09 22:23comprar viagra generico espaГ±a envio 24 horas
<a href="http://amsboatyard.com/">buy viagra</a>
effects of black viagra on blood pressure
<a href="http://amsboatyard.com/">buy viagra</a>
cialis dose recommendations vs viagra
http://amsboatyard.com/
viagra and cialis combo dosage comparison

JosephsoaleJosephsoale2018/05/10 11:55cialis 5 mg daily cost
<a href="http://airvietnamairline.com/">cialis</a>
side effects of cialis and viagra
<a href="http://airvietnamairline.com/">buy generic cialis</a>
dosage for 20mg cialis
http://airvietnamairline.com/
can you buy generic cialis in canada

MichaeltAispMichaeltAisp2018/05/10 12:30kamagra oral jelly sildenafil
<a href="http://kamagraonl.com/">kamagra 100mg</a>
kamagra reviews users
<a href="http://kamagraonl.com/">buy kamagra 100 mg oral jelly</a>
super kamagra forum hr
http://kamagraonl.com/
kamagra 100mg chewable tablets

MartincigMartincig2018/05/10 15:26viagra naturale per uomini
<a href="http://amsboatyard.com/">buy viagra online</a>
pfizer viagra coupons 2015
<a href="http://amsboatyard.com/">viagra</a>
female viagra pills online shopping
http://amsboatyard.com/
brand viagra online canadian pharmacy paypal

MarionalafeMarionalafe2018/05/11 05:28kamagra bezorgen amsterdam
<a href="http://kamagraonl.com/">buy kamagra 100 mg</a>
kamagra oral jelly india
<a href="http://kamagraonl.com/">buy kamagra 100 mg</a>
kamagra 100mg oral jelly review
http://kamagraonl.com/
erfahrungsbericht kamagra oral jelly wirkung

DerekvopsyDerekvopsy2018/06/15 20:21now <a href= http://buyviagramdf.com/ > buy viagra online </a> here "http://buyviagramdf.com/" - 25mg, 50mg, 100mg viagra tablets available today buyviagramdf.com

DerekvopsyDerekvopsy2018/06/21 02:53<a href= http://cialisnrx.com/ >buy cheap cialis online</a> here "http://cialisnrx.com/" - cialis online generic cialis cialisnrx.com

2012-05-08

AOJ 1303 Hobby on Rails

| 16:23 | AOJ 1303 Hobby on Rails - Wrong Answer -- japlj を含むブックマーク はてなブックマーク - AOJ 1303 Hobby on Rails - Wrong Answer -- japlj AOJ 1303 Hobby on Rails - Wrong Answer -- japlj のブックマークコメント

5限が始まってしまうのでソースだけ載せておこう

詳細はあとで

実装 66 分 + デバッグ 18 分

バグが少ないのは非常によろしい。丁寧に書いたので実装に時間はかかっているが、同じ程度の丁寧さでもっと速く書きたいところですね。

AC


#include<cstdio>
#include<cstring>
#include<algorithm>

using namespace std;

int w, h;

inline int left(int d) { return (d+3)&3; }
inline int rev(int d) { return (d+2)&3; }
inline int right(int d) { return (d+1)&3; }

static int dx[] = {0, 1, 0, -1}, dy[] = {-1, 0, 1, 0};
char type[8][8];
int dir[8][8], id[8][8], lrx[8], lry[8], done[8], lrs, sol;

int v_time[8][8][2][1<<6], v_phase[8][8][2][1<<6];

void dfs(int y, int x, int from, int st, int phase, int t)
{
  int& vp = v_phase[y][x][from][st], &vt = v_time[y][x][from][st];
  if(phase == vp) {
    sol = max(sol, t - vt);
    return;
  }
  vp = phase; vt = t;

  int ny, nx, nf, ns;
  if(type[y][x] == 'S') {
    int f = from == 0 ? dir[y][x] : rev(dir[y][x]);
    ny = y+dy[rev(f)]; nx = x+dx[rev(f)];
    nf = f; ns = st;
  } else if(type[y][x] == 'C') {
    int nd = from == 0 ? right(dir[y][x]) : dir[y][x];
    ny = y+dy[nd]; nx = x+dx[nd]; nf = rev(nd); ns = st;
  } else if(from == 1) {
    ny = y+dy[dir[y][x]]; nx = x+dx[dir[y][x]];
    nf = rev(dir[y][x]); ns = st;
  } else if(!(st & (1<<id[y][x]))) {
    ny = y+dy[rev(dir[y][x])]; nx = x+dx[rev(dir[y][x])];
    nf = dir[y][x]; ns = st ^ (1<<id[y][x]);
  } else {
    int nd = type[y][x] == 'L' ? right(dir[y][x]) : left(dir[y][x]);
    ny = y+dy[nd]; nx = x+dx[nd]; nf = rev(nd); ns = st ^ (1<<id[y][x]);
  }
  dfs(ny, nx, (dir[ny][nx] == nf ? 0 : 1), ns, phase, t+1);
}

void longest_cycle()
{
  int phase = 1;
  memset(v_phase, 0, sizeof(v_phase));
  for(int i=0; i<lrs; ++i)
    for(int j=0; j<(1<<lrs); ++j)
      for(int k=0; k<2; ++k)
	if(v_phase[lry[i]][lrx[i]][k][j] == 0)
	  dfs(lry[i], lrx[i], k, j, phase++, 0);
}

void adjust(int y, int x, int from, int cur, bool islr)
{
  if(cur == lrs) {
    longest_cycle();
    return;
  }

  if(x < 1 || y < 1 || x > w || y > h) return;

  if(islr) {
    if(cur < 0 || done[cur] == 3) { cur++; y=lry[cur]; x=lrx[cur]; }
    int d = (dir[y][x] + done[cur] * (type[y][x] == 'L' ? 1 : 3)) & 3;
    done[cur]++;
    adjust(y+dy[d], x+dx[d], rev(d), cur, false);
    done[cur]--;
    return;
  }

  if(dir[y][x] >= 0) {
    bool ok = false;
    ok |= (type[y][x] == 'S' && (dir[y][x] == from || dir[y][x] == rev(from)));
    ok |= (type[y][x] == 'C' && (dir[y][x] == from || right(dir[y][x]) == from));
    ok |= (type[y][x] == 'L' && (dir[y][x] != right(from)));
    ok |= (type[y][x] == 'R' && (right(dir[y][x]) != from));
    if(ok) adjust(lry[cur], lrx[cur], -1, cur, true);
    return;
  }

  if(type[y][x] == 'S') {
    dir[y][x] = from;
    adjust(y+dy[rev(from)], x+dx[rev(from)], from, cur, false);
  } else if(type[y][x] == 'C') {
    dir[y][x] = from;
    adjust(y+dy[right(from)], x+dx[right(from)], rev(right(from)), cur, false);
    dir[y][x] = left(from);
    adjust(y+dy[left(from)], x+dx[left(from)], rev(left(from)), cur, false);
  }
  dir[y][x] = -1;
}

int main()
{
  while(scanf("%d%d", &w, &h), w||h) {
    lrs = 0;
    for(int i=1; i<=h; ++i) {
      for(int j=1; j<=w; ++j) {
	char s[2];
	scanf("%s", s);
	type[i][j] = s[0];
	if(s[0] == 'L' || s[0] == 'R') {
	  id[i][j] = lrs;
	  lrx[lrs] = j;
	  lry[lrs] = i;
	  lrs++;
	}
      }
    }
    sol = 0;
    for(int i=0; i<(1<<(2*lrs)); ++i) {
      memset(dir, ~0, sizeof(dir));
      for(int j=0; j<lrs; ++j)
	dir[lry[j]][lrx[j]] = (i >> (2*j)) & 3;
      adjust(lry[0], lrx[0], -1, -1, true);
    }
    printf("%d\n", sol);
  }
  return 0;
}

WilsonWilson2012/11/14 15:53You have the monopoly on useful information-aren't moonpolies illegal? ;)

hrtwwfvhrtwwfv2012/11/15 12:011Bypab <a href="http://scqhjknjqoym.com/">scqhjknjqoym</a>

wdqqopcemwdqqopcem2012/11/16 10:23c8dNAR , [url=http://jutpppbbftxg.com/]jutpppbbftxg[/url], [link=http://okunxvklhmfs.com/]okunxvklhmfs[/link], http://utxxwfjihqfd.com/

pwmmnujjpwmmnujj2012/11/17 00:47iY2ahP <a href="http://pkmemxmongbs.com/">pkmemxmongbs</a>

wnulqxkqewnulqxkqe2012/11/17 20:42v1tgdp , [url=http://hxhhmnpqrrcp.com/]hxhhmnpqrrcp[/url], [link=http://knfmmbzzoqyi.com/]knfmmbzzoqyi[/link], http://watnafbfzjkt.com/

BainogarcicugBainogarcicug2014/01/21 07:41<a href="http://freecialiscialissaleyce.com/#sggo">cialis sale</a> at any time.,Some Internet pharmacies are reputable places to <a href="http://freecialiscialissalestrh.com/#nnlq">cialis dosage</a> to manage symptoms Ensure you maximize the discounts in,Cheap prices for <a href="http://cialisukcialissoftarry.com/#znua">cheap cialis</a>

nxxixydwspnxxixydwsp2014/04/02 18:51hsxlwupqdpefs, http://www.zdaaxxjata.com/ fsnsyuvbhv

vvteuyuwcgvvteuyuwcg2014/04/05 01:07ngcjeupqdpefs, <a href="http://www.yubepoaowx.com/">hzlhfetbmw</a>

ffklmljtgeffklmljtge2014/04/07 08:59kalwoupqdpefs, <a href="http://www.npbochaagt.com/">tmpbtlbjhi</a>

dlzafjelhldlzafjelhl2014/04/10 18:32idosiupqdpefs, http://www.fkpfnlnzmg.com/ dcqastnhxy

linmugxzaclinmugxzac2014/04/12 16:56xcqkwupqdpefs, <a href="http://www.fczmxgrjcn.com/">rttslmpjzj</a> , [url=http://www.lkjzhvsbdx.com/]nqtmwtgefu[/url], http://www.naartkryxa.com/ rttslmpjzj