Skip to content

Instantly share code, notes, and snippets.

View lychees's full-sized avatar
🌴
People, Fund, Strategy ...

minakokojima lychees

🌴
People, Fund, Strategy ...
View GitHub Profile
#include <lastweapon/io>
#include <assert.h>
#include <stdio.h>
#include <algorithm>
#include <iostream>
#include <vector>
using std::max;
using std::min;
using std::vector;
/** Micro Mezz Macro Flation -- Overheated Economy ., Last Update: Sep. 22th 2014 **/ //{
/** Header .. **/ //{
#pragma comment(linker, "/STACK:36777216")
//#pragma GCC optimize ("O2")
#define LOCAL
//#include "testlib.h"
#include <functional>
#include <algorithm>
#include <iostream>
@lychees
lychees / A.cpp
Created September 11, 2021 04:11
BZOJ 3533. [Sdoi2014]向量集
/*
This code has been written by MinakoKojima, feel free to ask me question. Blog: http://www.shuizilong.com/house
Template Date: 2015.10.12
Note: ...
*/
#pragma comment(linker, "/STACK:36777216")
//#pragma GCC optimize ("O2")
#define LOCAL
#include <functional>
/** ` Micro Mezzo Macro Flation -- Overheated Economy ., **/
#include <algorithm>
#include <iostream>
#include <iomanip>
#include <sstream>
#include <cstring>
#include <cstdio>
#include <string>
#include <vector>
@lychees
lychees / weth.sol
Created January 13, 2021 14:16
weth
// Dependency file: contracts/interfaces/IERC20.sol
// pragma solidity ^0.6.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the name of the token.
@lychees
lychees / route02.sol
Created December 21, 2020 15:08
gogogo
// Dependency file: contracts/interfaces/IUnisaveV2Pair.sol
// pragma solidity =0.6.12;
interface IUnisaveV2Pair {
event Approval(address indexed owner, address indexed spender, uint value);
event Transfer(address indexed from, address indexed to, uint value);
function name() external pure returns (string memory);
function symbol() external pure returns (string memory);
@lychees
lychees / a.sol
Created December 19, 2020 10:30
go
/**
*Submitted for verification at Etherscan.io on 2020-11-30
*/
// Dependency file: contracts/interfaces/IGainswapFactory.sol
// pragma solidity =0.6.12;
interface IGainswapFactory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
@lychees
lychees / gogogo.sol
Created December 15, 2020 10:06
gogogo.sol
/**
*Submitted for verification at BscScan.com on 2020-12-01
*/
/**
*Submitted for verification at BscScan.com on 2020-11-28
*/
/**
*Submitted for verification at BscScan.com on 2020-10-12
@lychees
lychees / dUSDx.sol
Created December 9, 2020 12:41
dUSDx.sol
/**
*Submitted for verification at BscScan.com on 2020-12-05
*/
/**
*Submitted for verification at BscScan.com on 2020-11-28
*/
/**
*Submitted for verification at BscScan.com on 2020-10-12
/**
*Submitted for verification at BscScan.com on 2020-12-07
*/
/**
*Submitted for verification at BscScan.com on 2020-11-08
*/
/**
*Submitted for verification at Etherscan.io on 2020-08-13