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 unsigned long long ull; | |
#define rep(i,n) for(ll i=0;i<(ll)(n);i++) | |
#define all(a) (a).begin(),(a).end() | |
#define pb emplace_back | |
ll bucket[1<<16]; | |
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<int,int> pii; | |
#define rep(i,n) for(ll i=0;i<(ll)(n);i++) | |
#define MAX_V 100000 | |
vector<int> G[MAX_V]; | |
void visit(int cur, int prev, vector<pii> &brg, vector<vector<int>> &each_bcc, vector<int> &cmp, stack<int> &roots, stack<int> &S, vector<bool> &inS, vector<int> &order, int &k){ | |
order[cur] = ++k; //頂点を訪れた順に順序付け |
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
# -*- coding: utf-8 -*- | |
import urllib2 | |
import time | |
import re | |
ME='yazaten' | |
judgeURL = "http://skht777.webcrow.jp/atcoder-api/submissions/list.php?id="+ME | |
codeURL = "http://skht777.webcrow.jp/atcoder-api/submissions/answer.php?id=" |
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; | |
#define rep(i,n) for(ll i=0;i<(ll)(n);i++) | |
#define pii pair<int,int> | |
#define all(a) (a).begin(),(a).end() | |
#define pb push_back | |
#define INF (1e9+1) | |
#define MAX_V 17 |
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; | |
#define rep(i,n) for(ll i=0;i<(ll)(n);i++) | |
#define pb push_back | |
typedef string::const_iterator State; | |
int ans; | |
string s; | |
ll exp(State &begin); |
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" | |
#include <array> | |
using namespace std; | |
#define rep(i,n) for(int i=0;i<(int)(n);i++) | |
int main(){ | |
int ans=0; | |
string s,t; | |
cin>>s>>t; | |
if(s.size()>t.size())swap(s,t); |
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<stdio.h> | |
#include<time.h> | |
#define DROP_SUM 30 | |
#define Attack_Drop 8 //攻撃色ドロップの数 | |
#define Line_Skill 5 //列強化の覚醒の個数 | |
int AnswerBoard[5][6]; | |
double MaxiScore=-1; |
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<stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
#define Attack_Drop 15 //攻撃色ドロップの数 | |
#define Line_Skill 5 //列強化の覚醒の個数 |
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<stdio.h> | |
#define DROP_ATK 15 | |
#define DROP_SUM 30 | |
/************************************************* | |
OneSum numマス目までで、いくつ'1'を配置したかを表す | |
num 現在何マス目かを表す | |
loc numマス目までの配置を記録する | |
*************************************************/ |