跳到正文

剪贴板

剪贴板 dc6syc6g

原文
剪贴板信息

剪贴板信息

收录
更新

https://wrfranklin.org/Research/Short_Notes/pnpoly.html#The%20Method

好玩的题

超级无敌宇宙螺旋升天封装 Bigint

https://www.luogu.com.cn/paste/ljt9soe3

https://www.luogu.com.cn/training/3364#problems

https://www.luogu.com.cn/training/3367#problems

C++
unsigned seed = chrono::high_resolution_clock::now().time_since_epoch().count();

mt19937 rand_generator(seed);
int randint(int l, int r) {
    uniform_int_distribution<int> dist(l, r);
    return dist(rand_generator);
}
C++
void Goto(int x, int y) {
    HANDLE hCon;
    hCon = GetStdHandle(STD_OUTPUT_HANDLE);
    COORD setps;
    setps.X = x;
    setps.Y = y;
    SetConsoleCursorPosition(hCon, setps);
    return;
}

C++
#include<bits/stdc++.h>
#include<ext/pb_ds/assoc_container.hpp>
__gnu_pbds::gp_hash_table<std::string,int> mp;
int main(){
   std::string a;
   std::cin>>a;
   mp[a]=1;
}