Skip to content

Instantly share code, notes, and snippets.

/**
* Created by clsrn1581 on 2016. 09. 22...
*/
// Common Modules...
// 예전 버전에서 사용하던 태그
import React from 'react';
import { Additory } from 'additor-elements';
// Own Modules...
import click
import boto3
#aws access key should be in ~/.aws/credentials
@click.group()
def cli():
pass
@cli.command()
@click.option('--count', default=1, help='Number of creating')
#include <cstdio>
using namespace std;
typedef struct miller_test{
long long mul(long long a, long long b, long long M){
long long r = 0;
while (b)
{
if (b & 1)
{
r += a;
#include <iostream>
#include <cstdio>
#include <algorithm>
#include <memory.h>
using namespace std;
#define MAXN 110
int K, L, N, M;
#include <iostream>
#include <cstdio>
#include <algorithm>
#include <vector>
#include <queue>
#include <memory.h>
using namespace std;
int N, K;
#include <iostream>
#include <cstdio>
#include <algorithm>
#include <vector>
#include <queue>
#include <climits>
using namespace std;
#define ll long long
#include <iostream>
#include <cstdio>
#include <vector>
#include <memory.h>
using namespace std;
#define MOD 1000000009
#define MAXN 50500
#include <iostream>
#include <cstdio>
#include <algorithm>
using namespace std;
#define ull unsigned long long
/*
규칙을 K번 적용해서 숫자 N을 만들 수 있는 수 중
최댓값(type이 1일 때), 최솟값(type이 0일 때)을 구하는 함수
*/
#-*- coding: utf-8 -*-
#한글 주석을 위해 인코딩 형식 utf-8을 선언함
#counting sort python3 version
#python3 문법으로 작성되었습니다.
#입력 예시 : 1 3 17 5 7
#출력 예시 : 1 3 5 7 17
#입력될 수 있는 숫자의 최대 크기를 의미합니다.
#include <iostream>
using namespace std;
#define MAXN 100000
#define FOR(I, A, B) for(int I = (A) ; I <= (B); I++)
#define ll long long
int M, catalan[MAXN+1];
int prime[2*MAXN+1], primes[2*MAXN+1], factor[2*MAXN+1], pc;
//에라테네스 체
void seive(int N){